newRangeQuery
Create a range query for binary values.
This is for simple one-dimension ranges, for multidimensional ranges use .newRangeQuery instead.
Return
a query matching documents within this range.
Parameters
field
field name. must not be null.
lowerValue
lower portion of the range (inclusive). must not be null
upperValue
upper portion of the range (inclusive). must not be null
Throws
if field is null, if lowerValue is null, or if upperValue is null
Create a range query for n-dimensional binary values.
Return
a query matching documents within this range.
Parameters
field
field name. must not be null.
lowerValue
lower portion of the range (inclusive). must not be null.
upperValue
upper portion of the range (inclusive). must not be null.
Throws
if field is null, if lowerValue is null, if upperValue is null, or if lowerValue.length != upperValue.length