Uses of Class
org.apache.lucene.index.PostingsEnum
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.0 file format.
Code to maintain and access indices.
Code to search indices.
-
Uses of PostingsEnum in org.apache.lucene.codecs
Modifier and TypeMethodDescriptionabstract PostingsEnum
PostingsReaderBase.postings
(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags) Must fully consume state, since after this call that TermState may be reused.Modifier and TypeMethodDescriptionabstract PostingsEnum
PostingsReaderBase.postings
(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags) Must fully consume state, since after this call that TermState may be reused. -
Uses of PostingsEnum in org.apache.lucene.codecs.lucene90
Modifier and TypeMethodDescriptionLucene90PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) Modifier and TypeMethodDescriptionLucene90PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) -
Uses of PostingsEnum in org.apache.lucene.index
Modifier and TypeClassDescriptionstatic class
Base class for filteringPostingsEnum
implementations.class
Extension ofPostingsEnum
which also provides information about upcoming impacts.final class
ExposesPostingsEnum
, merged fromPostingsEnum
API of sub-segments.final class
ImpactsEnum
that doesn't index impacts but implements the API in a legal way.Modifier and TypeFieldDescriptionprotected final PostingsEnum
FilterLeafReader.FilterPostingsEnum.in
The underlying PostingsEnum instance.MultiPostingsEnum.EnumWithSlice.postingsEnum
PostingsEnum
for this sub-reader.Modifier and TypeMethodDescriptionstatic PostingsEnum
MultiTerms.getTermPostingsEnum
(IndexReader r, String field, BytesRef term) ReturnsPostingsEnum
for the specified field and term.static PostingsEnum
MultiTerms.getTermPostingsEnum
(IndexReader r, String field, BytesRef term, int flags) ReturnsPostingsEnum
for the specified field and term, with control over whether freqs, positions, offsets or payloads are required.FilteredTermsEnum.postings
(PostingsEnum reuse, int flags) FilterLeafReader.FilterTermsEnum.postings
(PostingsEnum reuse, int flags) final PostingsEnum
ReturnsPostingsEnum
for the specified term withFREQS
.final PostingsEnum
ReturnsPostingsEnum
for the specified term.MultiTermsEnum.postings
(PostingsEnum reuse, int flags) final PostingsEnum
TermsEnum.postings
(PostingsEnum reuse) GetPostingsEnum
for the current term.abstract PostingsEnum
TermsEnum.postings
(PostingsEnum reuse, int flags) GetPostingsEnum
for the current term, with control over whether freqs, positions, offsets or payloads are required.FilterLeafReader.FilterPostingsEnum.unwrap()
Modifier and TypeMethodDescriptionFilteredTermsEnum.postings
(PostingsEnum reuse, int flags) FilterLeafReader.FilterTermsEnum.postings
(PostingsEnum reuse, int flags) MultiTermsEnum.postings
(PostingsEnum reuse, int flags) final PostingsEnum
TermsEnum.postings
(PostingsEnum reuse) GetPostingsEnum
for the current term.abstract PostingsEnum
TermsEnum.postings
(PostingsEnum reuse, int flags) GetPostingsEnum
for the current term, with control over whether freqs, positions, offsets or payloads are required.ModifierConstructorDescriptionprotected
Create a new FilterPostingsEnumSlowImpactsEnum
(PostingsEnum delegate) Wrap the givenPostingsEnum
. -
Uses of PostingsEnum in org.apache.lucene.search
Modifier and TypeClassDescriptionstatic class
Slower version of UnionPostingsEnum that delegates offsets and positions, for use by MatchesIteratorstatic class
Takes the logical union of multiple PostingsEnum iterators.ModifierConstructorDescriptionPostingsAndFreq
(PostingsEnum postings, ImpactsEnum impacts, int position, List<Term> terms) PostingsAndFreq
(PostingsEnum postings, ImpactsEnum impacts, int position, Term... terms) Creates PostingsAndFreq instanceTermScorer
(Weight weight, PostingsEnum postingsEnum, LeafSimScorer docScorer) Construct aTermScorer
that will iterate all documents.ModifierConstructorDescription