I am using multi-search query with a filter query . but I am getting no result after applying filter.
{
"query": {
"bool": {
"must": {
"multi_match": {
"operator": "and",
"query": "st",
"fields": [
"email",
"firstName",
"lastName"
]
}
},
"filter": {
"term": {
"status": "BLOCKED"
}
}
}
}
}
I am applying autocomplete search on the user having blocked status.