But all I am getting is empty reponse. Both of the query works fine individually. Also, if I combine other queries with multi_match then multi_match query has no effect on the result. Only the second query gets executed. Can anyone tell me if this the right way to combine these queries ?
I am trying to combine geo near queries with multi match queries using the below query:
{ "where": { "and": [{ "geo": { "near": { "lat": 30.78, "lng": 76.69 } } }, { "native": { "query": { "multi_match": { "query": "python", "fields": ["title", "tags", "description"], "type": "most_fields" } } } }] } }
But all I am getting is empty reponse. Both of the query works fine individually. Also, if I combine other queries with
multi_match
thenmulti_match
query has no effect on the result. Only the second query gets executed. Can anyone tell me if this the right way to combine these queries ?