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
FieldsFields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
in
-
Constructor Summary
ConstructorsConstructorDescriptionTermVectorFilteredTermsEnum
(TermsEnum baseTermsEnum, TermsEnum filteredTermsEnum) -
Method Summary
Modifier and TypeMethodDescription(package private) void
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, prepareSeekExact, seekCeil, seekExact, seekExact, seekExact, term, termState, totalTermFreq
-
Field Details
-
baseTermsEnum
-
-
Constructor Details
-
TermVectorFilteredTermsEnum
-
-
Method Details
-
postings
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:
IOException
-
moveToCurrentTerm
- Throws:
IOException
-