Class PrefixTermsEnum
Subclass of FilteredTermsEnum for enumerating all terms that match the specified prefix filter term.
Term enumerations are always ordered by Comparer. Each term in the enumeration is greater than all that precede it.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class PrefixTermsEnum : FilteredTermsEnum, IBytesRefEnumerator, IBytesRefIterator
Constructors
| Improve this Doc View SourcePrefixTermsEnum(TermsEnum, BytesRef)
Declaration
public PrefixTermsEnum(TermsEnum tenum, BytesRef prefixText)
Parameters
Type | Name | Description |
---|---|---|
TermsEnum | tenum | |
BytesRef | prefixText |
Methods
| Improve this Doc View SourceAccept(BytesRef)
Declaration
protected override FilteredTermsEnum.AcceptStatus Accept(BytesRef term)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | term |
Returns
Type | Description |
---|---|
FilteredTermsEnum.AcceptStatus |