.bottomRight(lat, lon)); filters.add(QueryBuilders.geoBoundingBoxQuery("location_point") .topLeft(lat_north, lon_west) .bottomRight(lat_south, lon_east)); if (coord.length == 5) filters.add(QueryBuilders.constantScoreQuery(QueryBuilders.termsQuery("location_source", coord[4])));
public GeoBoundingBoxQueryBuilder bottomRight(String geohash) { return bottomRight(GeoPoint.fromGeohash(geohash)); }
public GeoBoundingBoxQueryBuilder bottomRight(GeoPoint point) { return bottomRight(point.lat(), point.lon()); }
.geoBoundingBoxQuery(propertyName) .topLeft(nwLat, nwLon) .bottomRight(seLat, seLon));