public final class SingleTermsEnum extends FilteredTermsEnum
For example, this can be used by MultiTermQuery
s
that need only visit one term, but want to preserve
MultiTermQuery semantics such as MultiTermQuery.getRewriteMethod()
.
TermsEnum.SeekStatus
Constructor and Description |
---|
SingleTermsEnum(TermsEnum tenum,
BytesRef termText)
Creates a new
SingleTermsEnum . |
attributes, docFreq, docs, docsAndPositions, getComparator, next, ord, seekCeil, seekExact, seekExact, seekExact, term, termState, totalTermFreq
docs, docsAndPositions
Copyright © 2010 - 2020 Adobe. All Rights Reserved