Term query with numeric type will be solved as PointRangeQuery in Lucence(covered in node query cache)
while, Term query with keyword type will be plainly solved as TermQuery in Lucnce(not cached)
The solution is, Instead of using term query directly, you can use a boolean query with multiply conditions(term queries each), So Elasticsearch treats boolean query as BooleanQuery in lucence in a whole, and using node query cache again(BooleanQuery would be cached)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.