newSlowGeometryQuery

fun newSlowGeometryQuery(field: String?, queryRelation: ShapeField.QueryRelation, vararg latLonGeometries: LatLonGeometry): Query

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.

Return

query matching points within the given polygons.

Parameters

field

field name. must not be null.

queryRelation

The relation the points needs to satisfy with the provided geometries, must not be null.

latLonGeometries

array of LatLonGeometries. must not be null or empty.

Throws

if field is null, queryRelation is null, latLonGeometries is null, empty or contain a null or line geometry.