Boost on basis of intersection of terms in the two array

(Abhishek Gupta) #1

I am working on a simple search where I would prefer if the categories
belong to a subset. But even if that isn't the case I would still like to
have the results. I am currently using the following query

"terms" : {
"tags" : [ "sing", "music" ,"relaxing"],
"minimum_should_match" : 0

despite having minimum_should_match as 0, the results which doesn't have
these tags are not being shown. "tags" in this case is an array of
words/tags for the entity that I am searching for.


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
To view this discussion on the web visit
For more options, visit

(system) #2