Apache Lucene.Net 2.4.0 Class Library API

RangeFilter Constructor (String, String, String, Boolean, Boolean, CompareInfo)

WARNING: Using this constructor and supplying a non-null value in the collator paramter 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 RangeFilter(
   string fieldName,
   string lowerTerm,
   string upperTerm,
   bool includeLower,
   bool includeUpper,
   CompareInfo collator
);

Parameters

fieldName
lowerTerm
lower bound
upperTerm
upper bound
includeLower
is lower bound inclusive
includeUpper
is upper bound inclusive
collator
the collator that determines range inclusion; when set to null Unicode code point ordering is used

See Also

RangeFilter Class | Lucene.Net.Search Namespace | RangeFilter Constructor Overload List