Method NewInt16Range
NewInt16Range(String, Nullable<Int16>, Nullable<Int16>, Boolean, Boolean)
Creates a numeric range filter using GetInt16s(AtomicReader, String, Boolean). This works with all
null
.
NOTE: this was newShortRange() in Lucene
Declaration
public static FieldCacheRangeFilter<short?> NewInt16Range(string field, short? lowerVal, short? upperVal, bool includeLower, bool includeUpper)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
System.Nullable<System.Int16> | lowerVal | |
System.Nullable<System.Int16> | upperVal | |
System.Boolean | includeLower | |
System.Boolean | includeUpper |
Returns
Type | Description |
---|---|
FieldCacheRangeFilter<System.Nullable<System.Int16>> |
NewInt16Range(String, FieldCache.IInt16Parser, Nullable<Int16>, Nullable<Int16>, Boolean, Boolean)
Creates a numeric range filter using GetInt16s(AtomicReader, String, FieldCache.IInt16Parser, Boolean). This works with all
null
.
NOTE: this was newShortRange() in Lucene
Declaration
public static FieldCacheRangeFilter<short?> NewInt16Range(string field, FieldCache.IInt16Parser parser, short? lowerVal, short? upperVal, bool includeLower, bool includeUpper)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
FieldCache.IInt16Parser | parser | |
System.Nullable<System.Int16> | lowerVal | |
System.Nullable<System.Int16> | upperVal | |
System.Boolean | includeLower | |
System.Boolean | includeUpper |
Returns
Type | Description |
---|---|
FieldCacheRangeFilter<System.Nullable<System.Int16>> |