private static final class TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum extends FilterLeafReader.FilterTermsEnum
TermsEnum.SeekStatus
Modifier and Type | Field and Description |
---|---|
private TermsEnum |
baseTermsEnum |
in
Constructor and Description |
---|
TermVectorFilteredTermsEnum(TermsEnum baseTermsEnum,
TermsEnum filteredTermsEnum) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
moveToCurrentTerm() |
PostingsEnum |
postings(PostingsEnum reuse,
int flags)
Get
PostingsEnum for the current term, with
control over whether freqs, positions, offsets or payloads
are required. |
attributes, docFreq, impacts, next, ord, seekCeil, seekExact, seekExact, seekExact, term, termState, totalTermFreq
private final TermsEnum baseTermsEnum
public PostingsEnum postings(PostingsEnum reuse, int flags) throws java.io.IOException
TermsEnum
PostingsEnum
for the current term, with
control over whether freqs, positions, offsets or payloads
are required. Do not call this when the enum is
unpositioned. This method will not return null.
NOTE: the returned iterator may return deleted documents, so
deleted documents have to be checked on top of the PostingsEnum
.
postings
in class FilterLeafReader.FilterTermsEnum
reuse
- pass a prior PostingsEnum for possible reuseflags
- specifies which optional per-document values
you require; see PostingsEnum.FREQS
java.io.IOException
void moveToCurrentTerm() throws java.io.IOException
java.io.IOException