IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Geo Distance Range Filteredit
FilterBuilder filter = geoDistanceRangeFilter("pin.location") .point(40, -70) .from("200km") .to("400km") .includeLower(true) .includeUpper(false) .optimizeBbox("memory") .geoDistance(GeoDistance.ARC);
field |
|
center point |
|
starting distance from center point |
|
ending distance from center point |
|
include lower value means that |
|
include upper value means that |
|
optimize bounding box: |
|
distance computation mode: |
Note that you can cache the result using
GeoDistanceRangeFilterBuilder#cache(boolean)
method. See
Caching.