Class TermRangeQuery
A Query that matches documents within an exclusive range of terms.
This query matches the documents looking for terms that fall into the
supplied range according to
This query uses the CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
rewrite method.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class TermRangeQuery : MultiTermQuery
Constructors
Name | Description |
---|---|
TermRangeQuery(String, String, String, Boolean, Boolean) | Constructs a query selecting all terms greater/equal than 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.) |
TermRangeQuery(String, String, String, Boolean, Boolean, Globalization.CompareInfo) | Constructs a query selecting all terms greater/equal than
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
WARNING: Using this constructor and supplying a non-null
value in the |
Properties
Name | Description |
---|---|
Collator | Returns the collator used to determine range inclusion, if any. |
Field | Returns the field name for this query |
IncludesLower | Returns |
IncludesUpper | Returns |
LowerTerm | Returns the lower value of this range query |
UpperTerm | Returns the upper value of this range query |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetEnum(IndexReader) | |
GetHashCode() | |
ToString(String) | Prints a user-readable version of this query. |