Class TermRangeFilter
A Filter that restricts search results to a range of 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.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class TermRangeFilter : MultiTermQueryWrapperFilter<TermRangeQuery>
Constructors
Name | Description |
---|---|
TermRangeFilter(String, String, String, Boolean, Boolean) | lowerTerm is null and includeLower is true (similar for upperTerm and includeUpper) |
TermRangeFilter(String, String, String, Boolean, Boolean, Globalization.CompareInfo) | 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 filter |
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, String) | Constructs a filter for field |
More(String, String) | Constructs a filter for field |