Include Missing Field in REST API

Hi

I want to write a Range Query (Java High Level REST API) to retrieve records with in Range and also records with Missing Field (Records which doesnt have Price field itself or with NULL values)

QueryBuilder rangeQu = QueryBuilders.rangeQuery("price").gt(450);
BoolQueryBuilder qb = QueryBuilders.boolQuery();
qb.must(rangeQu)

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