elasticsearch bool query combine must with OR
OR is spelled should AND is spelled must NOR is spelled should_not Example: You want to see all the items that are (round AND (red OR blue)): { “query”: { “bool”: { “must”: [ { “term”: {“shape”: “round”} }, { “bool”: { “should”: [ {“term”: {“color”: “red”}}, {“term”: {“color”: “blue”} ] } } ] } … Read more