Does the pitfall of the and filter apply to the terms filter, too?

This question is about querying documents from the whole index using a
"filtered" query (and not about filtering further down some query results).

According
to http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/
the "and" filter is a very bad choice to query from all documents, because
it does not use a BitSet but just walks through all documents and checks
the conditions.

Does this also apply to a terms filter with "execution": "and" and
"execution": "or", too?

If yes, that would mean if I want the terms to be AND-ed, I should use
"execution": "bool" instead of "execution": "and". If I want the terms to
be OR-ed but cached separetely, I'm out of luck with the "terms" filter,
right?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a0d9058b-9bb2-4489-bcab-6658a77e85f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.