Hi, in Elasticsearch 2.x, the filter
argument was added to the bool
query. I've noticed that should
does not enforce the "1 or more" match if filter
is also included as an option. The documentation (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html) states that should
only matches 1 or more if no must
is present. So essentially, the question is whether filter
is also considered to be the same as must
(except it does not contribute to the score)? If so, perhaps we should clarify this in the reference guide?
Thanks.