Method NewBytesRefRange
NewBytesRefRange(String, BytesRef, BytesRef, Boolean, Boolean)
Creates a BytesRef range filter using GetTermsIndex(AtomicReader, String, Single). This works with all
fields containing zero or one term in the field. The range can be half-open by setting one
of the values to null
.
Declaration
public static FieldCacheRangeFilter<BytesRef> NewBytesRefRange(string field, BytesRef lowerVal, BytesRef upperVal, bool includeLower, bool includeUpper)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
BytesRef | lowerVal | |
BytesRef | upperVal | |
System.Boolean | includeLower | |
System.Boolean | includeUpper |
Returns
Type | Description |
---|---|
FieldCacheRangeFilter<BytesRef> |