Facing issue in a query

(Ankit Garg) #1

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": [
"filter": {
"term": {
"status": "BLOCKED"

I am applying autocomplete search on the user having blocked status.

(Mark Harwood) #2

Your query will only match people called "st". To match "steve", "stephanie" etc you'll need to use a form of prefix query or the autocomplete features

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.