Class SingleTermsEnum
Subclass of FilteredTermsEnum for enumerating a single term.
For example, this can be used by MultiTermQuerys that need only visit one term, but want to preserve MultiTermQuery semantics such as MultiTermRewriteMethod.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class SingleTermsEnum : FilteredTermsEnum, IBytesRefIterator
Constructors
Name | Description |
---|---|
SingleTermsEnum(TermsEnum, BytesRef) | Creates a new SingleTermsEnum. After calling the constructor the enumeration is already pointing to the term, if it exists. |
Methods
Name | Description |
---|---|
Accept(BytesRef) |