Geo Bounding Box Filter

edit

Geo Bounding Box Filter

edit

See Geo Bounding Box Filter

FilterBuilders.geoBoundingBoxFilter("pin.location")
    .topLeft(40.73, -74.1)
    .bottomRight(40.717, -73.99);

Note that you can cache the result using GeoBoundingBoxFilterBuilder#cache(boolean) method. See Caching.