Class FilteredTermEnum
Abstract class for enumerating a subset of all terms.
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public abstract class FilteredTermEnum : TermEnum
Constructors
Name | Description |
---|---|
FilteredTermEnum() |
Fields
Name | Description |
---|---|
actualEnum | the delegate enum - to set this member use SetEnum(TermEnum) |
currentTerm | the current term |
Properties
Name | Description |
---|---|
Term | Returns the current Term in the enumeration. Returns null if no Term matches or all terms have been enumerated. |
Methods
Name | Description |
---|---|
Difference() | Equality measure on the term |
Dispose(Boolean) | |
DocFreq() | Returns the docFreq of the current Term in the enumeration. Returns -1 if no Term matches or all terms have been enumerated. |
EndEnum() | Indicates the end of the enumeration has been reached |
Next() | Increments the enumeration to the next element. True if one exists. |
SetEnum(TermEnum) | use this method to set the actual TermEnum (e.g. in ctor), it will be automatically positioned on the first matching term. |
TermCompare(Term) | Equality compare on the term |