NYC's Blog - Lucene系列(8)——常用Query介绍 的评论 http://niyanchun.com/lucene-learning-8.html zh-CN 注:本文基于Lucene 8.2.0 版本。搜索是使用Lucene的根本目的,本文介绍Lucene提供的常用查询。下面的讲述中,会以之前《Lucene系列(2)——代码实践》文章中4首短诗的索引... Sun, 26 Sep 2021 15:22:30 +0800 Sun, 26 Sep 2021 15:22:30 +0800 NYC http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-695 http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-695 Sun, 26 Sep 2021 15:22:30 +0800 NYC 不要,即使性能会受影响,那也几乎是忽略不计的。但如果把int存成keyword,带来的弊端绝对大于那几乎可以忽略的性能收益。

]]>
http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-695#comments
刘海 http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-692 http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-692 Fri, 10 Sep 2021 19:52:14 +0800 刘海 数值类型的termQuery被转换成了pointRangeQuery,性能会受影响吗?要不要把int存成keyword避免这种情况发生?ES7.10

]]>
http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-692#comments