Companion
Functions
helper: checks a fieldinfo and throws exception if its definitely not a LatLonDocValuesField
Creates a SortField for sorting by distance from a location.
Create a query for matching a bounding box using doc values. This query is usually slow as it does not use an index structure and needs to verify documents one-by-one in order to know whether they match. It is best used wrapped in an IndexOrDocValuesQuery alongside a LatLonPoint.newBoxQuery.
Create a query for matching points within the specified distance of the supplied location. This query is usually slow as it does not use an index structure and needs to verify documents one-by-one in order to know whether they match. It is best used wrapped in an [ ] alongside a LatLonPoint.newDistanceQuery.
Create a query for matching one or more geometries against the provided [ ]. Line geometries are not supported for WITHIN relationship. This query is usually slow as it does not use an index structure and needs to verify documents one-by-one in order to know whether they match. It is best used wrapped in an [ ] alongside a LatLonPoint.newGeometryQuery.
Create a query for matching points within the supplied polygons. This query is usually slow as it does not use an index structure and needs to verify documents one-by-one in order to know whether they match. It is best used wrapped in an IndexOrDocValuesQuery alongside a LatLonPoint.newPolygonQuery.