Method NewByteRange
NewByteRange(String, Nullable<SByte>, Nullable<SByte>, Boolean, Boolean)
Creates a numeric range filter using GetBytes(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<sbyte?> NewByteRange(string field, sbyte? lowerVal, sbyte? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
System.Nullable<System.SByte> |
lowerVal |
|
System.Nullable<System.SByte> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns
NewByteRange(String, FieldCache.IByteParser, Nullable<SByte>, Nullable<SByte>, Boolean, Boolean)
Declaration
public static FieldCacheRangeFilter<sbyte?> NewByteRange(string field, FieldCache.IByteParser parser, sbyte? lowerVal, sbyte? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
FieldCache.IByteParser |
parser |
|
System.Nullable<System.SByte> |
lowerVal |
|
System.Nullable<System.SByte> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns