IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Not Filter

edit

See Not Filter

FilterBuilder filter = notFilter(
    rangeFilter("price").from("1").to("2")  
);

filter