Is it possible to have such a request
"query": { "filtered": { "filter": { "terms": { "names": [ "Anna", "Mark", "Joe" ], "execution" : "and" } } } }
Using the instruction "minimum_should_match": "2" ?
I know that I can use a simple query (I tried, it works), but I do not need to calculate the score. My goal is to simply filter documents containing 2 values.
Does the assessment as a whole greatly affect the time required to receive the document?
Using this query:
"query": { "filtered": { "filter": { "terms": { "names": [ "Anna", "Mark", "Joe" ], "execution" : "and", "minimum_should_match": "2" } } } }
I got this error:
QueryParsingException[[my_db] [terms] filter does not support [minimum_should_match]]
source share