Constructs a query selecting all terms greater than
CopyC#
but less than
CopyC#
.
There must be at least one term and either term may be null,
in which case there is no bound on that side, but if there are
two terms, both terms
must be for the same field.
If
CopyC#
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#
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.