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 |
---|---|
Filtered |
Fields
Name | Description |
---|---|
actual |
the delegate enum - to set this member use Set |
current |
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) | |
Doc |
Returns the docFreq of the current Term in the enumeration. Returns -1 if no Term matches or all terms have been enumerated. |
End |
Indicates the end of the enumeration has been reached |
Next() | Increments the enumeration to the next element. True if one exists. |
Set |
use this method to set the actual TermEnum (e.g. in ctor), it will be automatically positioned on the first matching term. |
Term |
Equality compare on the term |