Hi, I have a dynamic query built via java api that assembles a filtered 
query depending on the parameter input. I have about a dozen filters 
(mostly term filters) that may or may not be used, and had a couple 
questions:

1. Is it ok to simply set the parent boolFilterBuilder cache setting to 
true, or do I need to set cache=true for each filter?
2. Would it be a good practice to execute a dummy query with all the 
filters to preemptively create the filter before it's released for actual 
use?

Thanks in advance for your time

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/af0fc6a1-4951-4c83-9642-cb6b12e3e56f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to