newCrossesQuery

Create a query for matching indexed ranges that cross the defined range. A CROSSES is defined as any set of ranges that are not disjoint and not wholly contained by the query. Effectively, its the complement of union(WITHIN, DISJOINT).

Return

query for matching ranges within the defined range

Parameters

field

field name. must not be null.

min

array of min values. (accepts Float.NEGATIVE_INFINITY)

max

array of max values. (accepts Float.POSITIVE_INFINITY)

Throws

if field is null, min or max is invalid