Dealing with Empty data fields in Elasticsearch


I am creating elasticsearch scripts to retrieve data. I am just using match_all as query to retrieve all data in particular field. I am getting the output results.However, most of the data have empty value for that particular field. I would like to update my script in such a way that i can retrieve only the data having value of that particular field.I tried to use exists and missing filters but didn't help either. One of the reason those filters didn't work may be elasticsearch version i am using is quite older (version 1.4).
Looking for the help/suggestions.


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