Overload List

  NameDescription
Public methodStatic memberNewIntRange(String, ValueType, ValueType, Boolean, Boolean)
Factory that creates a
CopyC#
NumericRangeQuery
, that queries a
CopyC#
int
range using the default
CopyC#
precisionStep
{@link NumericUtils#PRECISION_STEP_DEFAULT} (4). You can have half-open ranges (which are in fact </≤ or >/≥ queries) by setting the min or max value to
CopyC#
null
. By setting inclusive to false, it will match all documents excluding the bounds, with inclusive on, the boundaries are hits, too.
Public methodStatic memberNewIntRange(String, Int32, ValueType, ValueType, Boolean, Boolean)
Factory that creates a
CopyC#
NumericRangeQuery
, that queries a
CopyC#
int
range using the given
CopyC#
precisionStep
. You can have half-open ranges (which are in fact </≤ or >/≥ queries) by setting the min or max value to
CopyC#
null
. By setting inclusive to false, it will match all documents excluding the bounds, with inclusive on, the boundaries are hits, too.

See Also