Package org.apache.lucene.search
Class PrefixTermsEnum
- java.lang.Object
-
- org.apache.lucene.index.TermsEnum
-
- org.apache.lucene.index.FilteredTermsEnum
-
- org.apache.lucene.search.PrefixTermsEnum
-
- All Implemented Interfaces:
BytesRefIterator
public class PrefixTermsEnum extends FilteredTermsEnum
Subclass of FilteredTermEnum for enumerating all terms that match the specified prefix filter term.Term enumerations are always ordered by
FilteredTermsEnum.getComparator()
. Each term in the enumeration is greater than all that precede it.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.TermsEnum
TermsEnum.SeekStatus
-
-
Constructor Summary
Constructors Constructor Description PrefixTermsEnum(TermsEnum tenum, BytesRef prefixText)
-
Method Summary
-
Methods inherited from class org.apache.lucene.index.FilteredTermsEnum
attributes, docFreq, docs, docsAndPositions, getComparator, next, ord, seekCeil, seekExact, seekExact, seekExact, term, termState, totalTermFreq
-
Methods inherited from class org.apache.lucene.index.TermsEnum
docs, docsAndPositions
-
-