Elastic search query empty list
You can use an Exists Query to look for empty fields:
GET localhost:8000/v1/scholarship/_search{ "query": { "bool": { "must_not": { "exists": { "field": "scholarship" } } } }}
This matches the below fields:
{ "scholarship": null }{ "scholarship": [] } { "scholarship": [null] }