Method NewStringRange
NewStringRange(String, String, String, Boolean, Boolean)
Creates a string 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<string> NewStringRange(string field, string lowerVal, string upperVal, bool includeLower, bool includeUpper)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
System.String | lowerVal | |
System.String | upperVal | |
System.Boolean | includeLower | |
System.Boolean | includeUpper |
Returns
Type | Description |
---|---|
FieldCacheRangeFilter<System.String> |