Hii.. All , I am pretty new in elk search, I want to find out multiple values for a single field (diseases:” fever,covid_19”) with in a must with wildcard condition
here the data is like this
Diseases: “fever, headache, cold cough”
Diseases:” fever, infection”
Diseases:” fever,covid_19”
I have tried like this
{ 'query': {'bool': {'filter': [{'bool': {'must': [{'wildcard': {'diseases': 'fev*'}}, {'wildcard': {'diseases': 'cov*'}}, {'range': {'visit_created_dttm': {'gte': '2020-06-23', 'lte': '2020-12-30'}}}}}
but it fails to recognize perticular values ..
please help me..how can i find out the the perticular values.