Overload List

  NameDescription
Public methodTermRangeQuery(String, String, String, Boolean, Boolean)
Constructs a query selecting all terms greater/equal than
CopyC#
lowerTerm
but less/equal than
CopyC#
upperTerm
.

If an endpoint is null, it is said to be "open". Either or both endpoints may be open. Open endpoints may not be exclusive (you can't select all but the first or last term without explicitly specifying the term to exclude.)

Public methodTermRangeQuery(String, String, String, Boolean, Boolean, CompareInfo)
Constructs a query selecting all terms greater/equal than
CopyC#
lowerTerm
but less/equal than
CopyC#
upperTerm
.

If an endpoint is null, it is said to be "open". Either or both endpoints may be open. Open endpoints may not be exclusive (you can't select all but the first or last term without explicitly specifying the term to exclude.)

If

CopyC#
collator
is not null, it will be used to decide whether index terms are within the given range, rather than using the Unicode code point order in which index terms are stored.

WARNING: Using this constructor and supplying a non-null value in the

CopyC#
collator
parameter 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.

See Also