Sets the collator used to determine index term inclusion in ranges for RangeQuerys.

WARNING: Setting the rangeCollator to a non-null collator using this method will cause every single index Term in the Field referenced by lowerTerm and/or upperTerm to be examined. Depending on the number of index Terms in this Field, the operation could be very slow.

Namespace: Lucene.Net.QueryParsers
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void SetRangeCollator(
	CompareInfo rc
)
Visual Basic
Public Overridable Sub SetRangeCollator ( _
	rc As CompareInfo _
)
Visual C++
public:
virtual void SetRangeCollator(
	CompareInfo^ rc
)

Parameters

rc
Type: System.Globalization..::..CompareInfo
the collator to use when constructing RangeQuerys

See Also