Method NewInt64Range
NewInt64Range(String, Int32, Nullable<Int64>, Nullable<Int64>, Boolean, Boolean)
Factory that creates a NumericRangeFilter, that filters a null
. By setting inclusive to false
, it will
match all documents excluding the bounds, with inclusive on, the boundaries are hits, too.
NOTE: This was newLongRange() in Lucene
Declaration
public static NumericRangeFilter<long> NewInt64Range(string field, int precisionStep, long? min, long? max, bool minInclusive, bool maxInclusive)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
System.Int32 | precisionStep | |
System.Nullable<System.Int64> | min | |
System.Nullable<System.Int64> | max | |
System.Boolean | minInclusive | |
System.Boolean | maxInclusive |
Returns
Type | Description |
---|---|
NumericRangeFilter<System.Int64> |
NewInt64Range(String, Nullable<Int64>, Nullable<Int64>, Boolean, Boolean)
Factory that creates a NumericRangeFilter, that queries a null
. By setting inclusive to false
, it will
match all documents excluding the bounds, with inclusive on, the boundaries are hits, too.
NOTE: This was newLongRange() in Lucene
Declaration
public static NumericRangeFilter<long> NewInt64Range(string field, long? min, long? max, bool minInclusive, bool maxInclusive)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
System.Nullable<System.Int64> | min | |
System.Nullable<System.Int64> | max | |
System.Boolean | minInclusive | |
System.Boolean | maxInclusive |
Returns
Type | Description |
---|---|
NumericRangeFilter<System.Int64> |