Method NewDoubleRange
NewDoubleRange(String, Nullable<Double>, Nullable<Double>, Boolean, Boolean)
Creates a numeric range query using . This works with all
double fields containing exactly one numeric term in the field. The range can be half-open by setting one
of the values to null
.
Declaration
public static FieldCacheRangeFilter<double?> NewDoubleRange(string field, double? lowerVal, double? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
System.Nullable<System.Double> |
lowerVal |
|
System.Nullable<System.Double> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns
NewDoubleRange(String, DoubleParser, Nullable<Double>, Nullable<Double>, Boolean, Boolean)
Creates a numeric range query using . This works with all
double fields containing exactly one numeric term in the field. The range can be half-open by setting one
of the values to null
.
Declaration
public static FieldCacheRangeFilter<double?> NewDoubleRange(string field, DoubleParser parser, double? lowerVal, double? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
DoubleParser |
parser |
|
System.Nullable<System.Double> |
lowerVal |
|
System.Nullable<System.Double> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns