Class TermRangeQuery
A Query that matches documents within an 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.
@since 2.9
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class TermRangeQuery : MultiTermQuery
Constructors
Name | Description |
---|---|
TermRangeQuery(String, BytesRef, BytesRef, Boolean, Boolean) | Constructs a query selecting all terms greater/equal than
If an endpoint is |
Properties
Name | Description |
---|---|
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) | |
GetHashCode() | |
GetTermsEnum(Terms, AttributeSource) | |
NewStringRange(String, String, String, Boolean, Boolean) | Factory that creates a new TermRangeQuery using |
ToString(String) | Prints a user-readable version of this query. |