newSlowGeometryQuery

fun newSlowGeometryQuery(field: String?, vararg geometries: XYGeometry): Query

Create a query for matching points within the supplied geometries. XYLine geometries are not supported. 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 XYPointField.newGeometryQuery.

Return

query matching points within the given geometries.

Parameters

field

field name. must not be null.

geometries

array of XY geometries. must not be null or empty.

Throws

if field is null, polygons is null, empty or contains a null or XYLine geometry.