The TermRangeFilter type exposes the following members.
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, CompareInfo) | WARNING: Using this constructor and supplying a non-null
value in the CopyC# collator |
Methods
Name | Description | |
---|---|---|
Bits | Obsolete. Returns a BitSet with true for documents which should be
permitted in search results, and false for those that should
not.
(Inherited from MultiTermQueryWrapperFilter.) | |
ClearTotalNumberOfTerms | Expert: Resets the counting of unique terms.
Do this before executing the filter.
(Inherited from MultiTermQueryWrapperFilter.) | |
Equals | (Inherited from MultiTermQueryWrapperFilter.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCollator | Returns the collator used to determine range inclusion, if any. | |
GetDocIdSet | Returns a DocIdSet with documents that should be
permitted in search results.
(Inherited from MultiTermQueryWrapperFilter.) | |
GetField | Returns the field name for this filter | |
GetHashCode | (Inherited from MultiTermQueryWrapperFilter.) | |
GetLowerTerm | Returns the lower value of this range filter | |
GetTotalNumberOfTerms | Expert: Return the number of unique terms visited during execution of the filter.
If there are many of them, you may consider using another filter type
or optimize your total term count in index.
This method is not thread safe, be sure to only call it when no filter is running!
If you re-use the same filter instance for another
search, be sure to first reset the term counter
with {@link #clearTotalNumberOfTerms}.
(Inherited from MultiTermQueryWrapperFilter.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUpperTerm | Returns the upper value of this range filter | |
IncludesLower | Returns CopyC# true | |
IncludesUpper | Returns CopyC# true | |
Less | Constructs a filter for field CopyC# fieldName CopyC# upperTerm | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
More | Constructs a filter for field CopyC# fieldName CopyC# lowerTerm | |
ToString | (Inherited from MultiTermQueryWrapperFilter.) |
Fields
Name | Description | |
---|---|---|
query | (Inherited from MultiTermQueryWrapperFilter.) |