The query has two query item,es will create two thread(each thread just execute one query item),and merge result in the end?
Or,es will execute two query item one by one,for example term "field1":"f1" just get 100 documents,and then range field3 gt 1 just filter in the 100 documents instead of all documents?
Thank you.Because there is just one thread to execute one query,so i should be care of the filter order?
For example, just as the question,if condition 1 just get 100 documents,and condition 2 can get 1000000 documents,i should place condition 1 before condition 2?
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.