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