Class IndexFieldRangeValueType<T>
Used for value range types when the type is known
public abstract class IndexFieldRangeValueType<T> : IndexFieldValueTypeBase, IIndexFieldValueType, IIndexRangeValueType<T>, IIndexRangeValueType where T : struct
Type Parameters
T
- Inheritance
-
IndexFieldRangeValueType<T>
- Implements
- Derived
- Inherited Members
Constructors
IndexFieldRangeValueType(string, ILoggerFactory, bool)
protected IndexFieldRangeValueType(string fieldName, ILoggerFactory logger, bool store = true)
Parameters
fieldName
stringlogger
ILoggerFactorystore
bool
Methods
GetQuery(T?, T?, bool, bool)
Gets a query as Lucene.Net.Search.Query
public abstract Query GetQuery(T? lower, T? upper, bool lowerInclusive = true, bool upperInclusive = true)
Parameters
Returns
- Query
GetQuery(string, string, bool, bool)
Gets a query as Lucene.Net.Search.Query
public Query GetQuery(string lower, string upper, bool lowerInclusive = true, bool upperInclusive = true)
Parameters
Returns
- Query