Class TermRangeFilter
A Filter that restricts search results to a range of term values in a given field.
This filter matches the documents looking for terms that fall into the
supplied range according to
If you construct a large number of range filters with different ranges but on the same field, FieldCacheRangeFilter may have significantly better performance.
@since 2.9
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class TermRangeFilter : MultiTermQueryWrapperFilter<TermRangeQuery>
Constructors
Name | Description |
---|---|
TermRangeFilter(String, BytesRef, BytesRef, Boolean, Boolean) |
Properties
Name | Description |
---|---|
IncludesLower | Returns |
IncludesUpper | Returns |
LowerTerm | Returns the lower value of this range filter |
UpperTerm | Returns the upper value of this range filter |
Methods
Name | Description |
---|---|
Less(String, BytesRef) | Constructs a filter for field |
More(String, BytesRef) | Constructs a filter for field |
NewStringRange(String, String, String, Boolean, Boolean) | Factory that creates a new TermRangeFilter using |