newBoxQuery

fun newBoxQuery(field: String?, minX: Float, maxX: Float, minY: Float, maxY: Float): Query

Create a query for matching a bounding box.

Return

query matching points within this box

Parameters

field

field name. must not be null.

minX

x lower bound.

maxX

x upper bound.

minY

y lower bound.

maxY

y upper bound.

Throws

if field is null, or the box has invalid coordinates.