Class Int64Range
Represents a range over System.Int64 values.
NOTE: This was LongRange in Lucene
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Facet.Range
Assembly: Lucene.Net.Facet.dll
Syntax
public sealed class Int64Range : Range
Constructors
| Improve this Doc View SourceInt64Range(String, Int64, Boolean, Int64, Boolean)
Create a Int64Range.
Declaration
public Int64Range(string label, long minIn, bool minInclusive, long maxIn, bool maxInclusive)
Parameters
Type | Name | Description |
---|---|---|
System.String | label | |
System.Int64 | minIn | |
System.Boolean | minInclusive | |
System.Int64 | maxIn | |
System.Boolean | maxInclusive |
Properties
| Improve this Doc View SourceMax
Maximum.
Declaration
public long Max { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
MaxInclusive
True if the maximum value is inclusive.
Declaration
public bool MaxInclusive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Min
Minimum.
Declaration
public long Min { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
MinInclusive
True if the minimum value is inclusive.
Declaration
public bool MinInclusive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceAccept(Int64)
True if this range accepts the provided value.
Declaration
public bool Accept(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value |
Returns
Type | Description |
---|---|
System.Boolean |
GetFilter(Filter, ValueSource)
Declaration
public override Filter GetFilter(Filter fastMatchFilter, ValueSource valueSource)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Filter | fastMatchFilter | |
Lucene.Net.Queries.Function.ValueSource | valueSource |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Filter |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()