I'm trying to understand the different execution modes for the terms
filter.
(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html#_execution_mode)
And/Or execution modes seem self-explanatory.
The bool execution mode says Generates a term filter
I have a filtered query, and within the filter I want to accomplish
something like this
(X AND Y AND ...) AND (A OR B OR ...) AND (C OR D OR ...)
where X, Y, A, B, C, D are all filter expressions and each set of
expressions within the params can be arbitrary in length
Originally, before the
Is it possible to use this feature with a lookup on multiple documents
(multiple IDs) to supply the terms?
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html#_terms_lookup_mechanism
I tried this
terms: {
user: {