Method NewInt64Range
NewInt64Range(String, Nullable<Int64>, Nullable<Int64>, Boolean, Boolean)
Creates a numeric range filter using GetInt64s(AtomicReader, String, Boolean). This works with all
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<long?> NewInt64Range(string field, long? lowerVal, long? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
System.Nullable<System.Int64> |
lowerVal |
|
System.Nullable<System.Int64> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns
NewInt64Range(String, FieldCache.IInt64Parser, Nullable<Int64>, Nullable<Int64>, Boolean, Boolean)
Declaration
public static FieldCacheRangeFilter<long?> NewInt64Range(string field, FieldCache.IInt64Parser parser, long? lowerVal, long? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
FieldCache.IInt64Parser |
parser |
|
System.Nullable<System.Int64> |
lowerVal |
|
System.Nullable<System.Int64> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns