'must_not' Clause
{
"query": {
"bool": {
"must":
{ "term": { "Color": "Black" } },
"must_not": [
{ "term": { "Bird": "Asian Koel" } },
{ "range": { "price": { "gte": 10} } },
{ "term": { "In Stock": "True" } }
]
}
}
}Last updated