I have a requirement need to use multi search, but the search has same
conditions except one, so I hope I can search them using the same
conditions and using filter on different condition, so I think the
performance is better, does anyone have any suggest?
This will work fine by default: filters are cached, so the first query will
load the set of matching documents into the cache and the other queries
will be able to reuse this cache entry.
I have a requirement need to use multi search, but the search has same
conditions except one, so I hope I can search them using the same
conditions and using filter on different condition, so I think the
performance is better, does anyone have any suggest?
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.