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