How can i create Elasticsearch curl query to get the field value which are not null and not empty(\"\"),
Here is the mysql query:
select field1 from
You can use not filter on top of missing.
"query": { "filtered": { "query": { "match_all": {} }, "filter": { "not": { "filter": { "missing": { "field": "searchField" } } } } } }