NYC's Blog - Lucene系列(8)——常用Query介绍 的评论 http://niyanchun.com/lucene-learning-8.html 注:本文基于Lucene 8.2.0 版本。搜索是使用Lucene的根本目的,本文介绍Lucene提供的常用查询。下面的讲述中,会以之前《Lucene系列(2)——代码实践》文章中4首短诗的索引... NYC http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-695 2021-09-26T15:22:30+08:00 不要,即使性能会受影响,那也几乎是忽略不计的。但如果把int存成keyword,带来的弊端绝对大于那几乎可以忽略的性能收益。 刘海 http://niyanchun.com/lucene-learning-8.html/comment-page-1#comment-692 2021-09-10T19:52:14+08:00 数值类型的termQuery被转换成了pointRangeQuery,性能会受影响吗?要不要把int存成keyword避免这种情况发生?ES7.10