See Geo Polygon Filter
FilterBuilder filter = geoPolygonFilter("pin.location") .addPoint(40, -70) .addPoint(30, -80) .addPoint(20, -90);
field
add your polygon of points a document should fall within
Note that you can cache the result using GeoPolygonFilterBuilder#cache(boolean) method. See Caching.
GeoPolygonFilterBuilder#cache(boolean)
Most Popular
Video
Get Started with Elasticsearch
Intro to Kibana
ELK for Logs & Metrics