Apache Lucene.Net 2.4.0 Class Library API

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

lowerTerm is null and includeLower is true (similar for upperTerm and includeUpper)

public RangeFilter(
   string fieldName,
   string lowerTerm,
   string upperTerm,
   bool includeLower,
   bool includeUpper
);

Parameters

fieldName
The field this range applies to
lowerTerm
The lower bound on this range
upperTerm
The upper bound on this range
includeLower
Does this range include the lower bound?
includeUpper
Does this range include the upper bound?

See Also

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