Hi,
I'm having an index of around 140M entries, still running elastic 1.3 in production and using filtered queries to do lookups, most of the queries execute in sub 100ms, between 40 and 100ms.
And first hit is around 900ms all subsequent ones take around 230ms
I'm a bit dissapointed with this not so "fast" speed. .
Are there any things I can optimize further to this query or things you see I'm doing wrong with it?
I just want to make sure I'm making full use of the Roaring bitmaps and that is everything is wrapped in constantScore.
Both queries will match the same documents and give the same scores. This is something that was performed automatically by the filtered query before but that bool does not do until LUCENE-6889 is in.
I got similar issue after I migrated to elasticsearch 2.0.2. I tried to change the bool query to constant_score as suggested above, but I did not get any performance up.
I also tried to change the query cache to cache everthing with bigger cache size/count, which gave me a little bit of speep up but still slower than 1.7.3 vastly against the same queries.
Most of my queries are filter only, no scoring required, is there any suggestion to make the 2.0.2 works as the same speed as 1.7.3?
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.