Empty terms for Terms Filter in 0.21

I think that using missingFilter when termsFilter has empty terms list is
misleading.
I understand termsFilter like: return only those documents, where a field
has one of the values provided as terms.
So empty terms list in termsFilter == doesn't return anything ==
notFilter(matchAllFilter()).
Also notFilter(termsFilter with empty terms list) == matchAllFilter.

I use this behaviour of ES 0.19 to exclude some documents from results:
notFilter(termsFilter("documentType", ))
If is empty then all documents should be
returned.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.