Apache Lucene.Net 2.4.0 Class Library API

QueryParser.SetRangeCollator Method 

Sets the collator used to determine index term inclusion in ranges specified either for ConstantScoreRangeQuery or RangeQuery (if SetUseOldRangeQuery(bool) is called with a parameter of true.

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.

public void SetRangeCollator(
   CompareInfo rc
);

Parameters

rc
the collator to use when constructing RangeQuery and ConstantScoreRangeQuery

See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace