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 need to use bool query with must/must_not and exists
To get where place is null
{ "query": { "bool": { "must_not": { "exists": { "field": "place" } } } } }
To get where place is not null
{ "query": { "bool": { "must": { "exists": { "field": "place" } } } } }