public class PrefixTermsEnum extends FilteredTermsEnum
Term enumerations are always ordered by
FilteredTermsEnum.getComparator()
. Each term in the enumeration is
greater than all that precede it.
FilteredTermsEnum.AcceptStatus
TermsEnum.SeekStatus
Constructor and Description |
---|
PrefixTermsEnum(TermsEnum tenum,
BytesRef prefixText) |
Modifier and Type | Method and Description |
---|---|
protected FilteredTermsEnum.AcceptStatus |
accept(BytesRef term)
Return if term is accepted, not accepted or the iteration should ended
(and possibly seek).
|
attributes, docFreq, docs, docsAndPositions, getComparator, next, nextSeekTerm, ord, seekCeil, seekExact, seekExact, seekExact, setInitialSeekTerm, term, termState, totalTermFreq
docs, docsAndPositions
protected FilteredTermsEnum.AcceptStatus accept(BytesRef term)
FilteredTermsEnum
accept
in class FilteredTermsEnum
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.