Module org.apache.lucene.core
Package org.apache.lucene.index
Class FreqProxTermsWriter.SortingTermsEnum
java.lang.Object
org.apache.lucene.index.TermsEnum
org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
org.apache.lucene.index.FreqProxTermsWriter.SortingTermsEnum
- All Implemented Interfaces:
BytesRefIterator
- Enclosing class:
FreqProxTermsWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.TermsEnum
TermsEnum.SeekStatus
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Sorter.DocMap
private final IndexOptions
Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
in
-
Constructor Summary
ConstructorsConstructorDescriptionSortingTermsEnum
(TermsEnum in, Sorter.DocMap docMap, IndexOptions indexOptions) -
Method Summary
Modifier and TypeMethodDescriptionpostings
(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 Details
-
docMap
-
indexOptions
-
-
Constructor Details
-
SortingTermsEnum
SortingTermsEnum(TermsEnum in, Sorter.DocMap docMap, IndexOptions indexOptions)
-
-
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
-