newDistanceQuery
Create a query for matching points within the specified distance of the supplied location.
Return
query matching points within this distance
Parameters
field
field name. must not be null.
x
x at the center.
y
y at the center.
radius
maximum distance from the center in cartesian units: must be non-negative and finite.
Throws
if field is null, location has invalid coordinates, or radius is invalid.