Class TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum
- java.lang.Object
-
- org.apache.lucene.index.TermsEnum
-
- org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
-
- org.apache.lucene.search.uhighlight.TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum
-
- All Implemented Interfaces:
BytesRefIterator
- Enclosing class:
- TermVectorFilteredLeafReader
private static final class TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum extends FilterLeafReader.FilterTermsEnum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.TermsEnum
TermsEnum.SeekStatus
-
-
Field Summary
Fields Modifier and Type Field Description private TermsEnum
baseTermsEnum
-
Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
in
-
-
Constructor Summary
Constructors Constructor Description TermVectorFilteredTermsEnum(TermsEnum baseTermsEnum, TermsEnum filteredTermsEnum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
moveToCurrentTerm()
PostingsEnum
postings(PostingsEnum reuse, int flags)
GetPostingsEnum
for the current term, with control over whether freqs, positions, offsets or payloads are required.-
Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
attributes, docFreq, impacts, next, ord, seekCeil, seekExact, seekExact, seekExact, term, termState, totalTermFreq
-
-
-
-
Field Detail
-
baseTermsEnum
private final TermsEnum baseTermsEnum
-
-
Method Detail
-
postings
public PostingsEnum postings(PostingsEnum reuse, int flags) throws java.io.IOException
Description copied from class:TermsEnum
GetPostingsEnum
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
.- Overrides:
postings
in classFilterLeafReader.FilterTermsEnum
- Parameters:
reuse
- pass a prior PostingsEnum for possible reuseflags
- specifies which optional per-document values you require; seePostingsEnum.FREQS
- Throws:
java.io.IOException
-
moveToCurrentTerm
void moveToCurrentTerm() throws java.io.IOException
- Throws:
java.io.IOException
-
-