Table of Contents

Class IndexFieldRangeValueType<T>

Namespace
Examine.Lucene.Indexing
Assembly
Examine.Lucene.dll

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 string
logger ILoggerFactory
store 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

lower T?
upper T?
lowerInclusive bool
upperInclusive bool

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

lower string
upper string
lowerInclusive bool
upperInclusive bool

Returns

Query