Overload List

  NameDescription
Public methodStatic memberNewDoubleRange(String, Double, Double, Boolean, Boolean)
Factory that creates a
CopyC#
NumericRangeQuery
, that queries a
CopyC#
double
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 memberNewDoubleRange(String, Int32, Double, Double, Boolean, Boolean)
Factory that creates a
CopyC#
NumericRangeQuery
, that queries a
CopyC#
double
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