newSlowPolygonQuery
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.
Return
query matching points within the given polygons.
Parameters
field
field name. must not be null.
polygons
array of polygons. must not be null or empty.
Throws
if field is null or polygons is empty or contain a null polygon.