Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene50 for an overview
of the index format. |
org.apache.lucene.codecs.lucene70 |
Lucene 7.0 file format.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.payloads |
Experimental classes for interacting with payloads
|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Field and Description |
---|---|
private PostingsEnum |
PushPostingsWriterBase.postingsEnum |
Modifier and Type | Method and Description |
---|---|
abstract 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 Type | Method and Description |
---|---|
abstract 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 Type | Class and Description |
---|---|
(package private) class |
BitSetPostingsEnum
Takes a
FixedBitSet and creates a DOCS PostingsEnum from it. |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
SegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
IntersectTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
BitSetTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
SegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
IntersectTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
BitSetTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Class and Description |
---|---|
private static class |
CompressingTermVectorsReader.TVPostingsEnum |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
CompressingTermVectorsReader.TVTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
CompressingTermVectorsReader.TVTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SingleDocsEnum |
(package private) class |
SinglePostingsEnum |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
IDVersionPostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags) |
PostingsEnum |
IDVersionSegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
IDVersionPostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags) |
PostingsEnum |
IDVersionSegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
Lucene50PostingsReader.BlockDocsEnum |
(package private) class |
Lucene50PostingsReader.BlockPostingsEnum |
(package private) class |
Lucene50PostingsReader.EverythingEnum |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
Lucene50PostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags) |
PostingsEnum |
Lucene50PostingsReader.BlockPostingsEnum.reset(Lucene50PostingsFormat.IntBlockTermState termState) |
PostingsEnum |
Lucene50PostingsReader.BlockDocsEnum.reset(Lucene50PostingsFormat.IntBlockTermState termState,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
Lucene50PostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
Lucene70DocValuesProducer.TermsDict.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
Lucene70DocValuesProducer.TermsDict.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Class and Description |
---|---|
static class |
FilterLeafReader.FilterPostingsEnum
Base class for filtering
PostingsEnum implementations. |
private static class |
FreqProxFields.FreqProxDocsEnum |
private static class |
FreqProxFields.FreqProxPostingsEnum |
(package private) class |
MappingMultiPostingsEnum
Exposes flex API, merged from flex API of sub-segments,
remapping docIDs (this is used for segment merging).
|
class |
MultiPostingsEnum
Exposes
PostingsEnum , merged from PostingsEnum
API of sub-segments. |
(package private) static class |
SortingLeafReader.SortingDocsEnum |
(package private) static class |
SortingLeafReader.SortingPostingsEnum |
Modifier and Type | Field and Description |
---|---|
(package private) PostingsEnum |
MultiPostingsEnum.current |
protected PostingsEnum |
FilterLeafReader.FilterPostingsEnum.in
The underlying PostingsEnum instance.
|
PostingsEnum |
MappingMultiPostingsEnum.MappingPostingsSub.postings |
PostingsEnum |
MultiPostingsEnum.EnumWithSlice.postingsEnum
PostingsEnum for this sub-reader. |
(package private) PostingsEnum |
BufferedUpdatesStream.SegmentState.postingsEnum |
(package private) PostingsEnum[] |
MultiPostingsEnum.subPostingsEnums |
Modifier and Type | Method and Description |
---|---|
static PostingsEnum |
MultiFields.getTermDocsEnum(IndexReader r,
java.lang.String field,
BytesRef term)
Returns
PostingsEnum for the specified field and
term. |
static PostingsEnum |
MultiFields.getTermDocsEnum(IndexReader r,
java.lang.String field,
BytesRef term,
int flags)
Returns
PostingsEnum for the specified field and
term, with control over whether freqs are required. |
static PostingsEnum |
MultiFields.getTermPositionsEnum(IndexReader r,
java.lang.String field,
BytesRef term)
Returns
PostingsEnum for the specified
field and term. |
static PostingsEnum |
MultiFields.getTermPositionsEnum(IndexReader r,
java.lang.String field,
BytesRef term,
int flags)
Returns
PostingsEnum for the specified
field and term, with control over whether offsets and payloads are
required. |
(package private) PostingsEnum |
SortingLeafReader.SortingDocsEnum.getWrapped()
Returns the wrapped
PostingsEnum . |
(package private) PostingsEnum |
SortingLeafReader.SortingPostingsEnum.getWrapped()
Returns the wrapped
PostingsEnum . |
PostingsEnum |
TermsEnum.postings(PostingsEnum reuse)
Get
PostingsEnum for the current term. |
abstract PostingsEnum |
TermsEnum.postings(PostingsEnum reuse,
int flags)
Get
PostingsEnum for the current term, with
control over whether freqs, positions, offsets or payloads
are required. |
PostingsEnum |
SortingLeafReader.SortingTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
SortedSetDocValuesTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
SortedDocValuesTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
MultiTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
MappedMultiFields.MappedMultiTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FreqProxFields.FreqProxTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilterLeafReader.FilterTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
LeafReader.postings(Term term)
Returns
PostingsEnum for the specified term
with FREQS . |
PostingsEnum |
LeafReader.postings(Term term,
int flags)
Returns
PostingsEnum for the specified term. |
Modifier and Type | Method and Description |
---|---|
private void |
SortingLeafReader.SortingPostingsEnum.addPositions(PostingsEnum in,
IndexOutput out) |
PostingsEnum |
TermsEnum.postings(PostingsEnum reuse)
Get
PostingsEnum for the current term. |
abstract PostingsEnum |
TermsEnum.postings(PostingsEnum reuse,
int flags)
Get
PostingsEnum for the current term, with
control over whether freqs, positions, offsets or payloads
are required. |
PostingsEnum |
SortingLeafReader.SortingTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
SortedSetDocValuesTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
SortedDocValuesTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
MultiTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
MappedMultiFields.MappedMultiTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FreqProxFields.FreqProxTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilterLeafReader.FilterTermsEnum.postings(PostingsEnum reuse,
int flags) |
(package private) boolean |
SortingLeafReader.SortingDocsEnum.reused(PostingsEnum other) |
(package private) boolean |
SortingLeafReader.SortingPostingsEnum.reused(PostingsEnum other) |
Constructor and Description |
---|
FilterPostingsEnum(PostingsEnum in)
Create a new FilterPostingsEnum
|
SortingDocsEnum(int maxDoc,
SortingLeafReader.SortingDocsEnum reuse,
PostingsEnum in,
boolean withFreqs,
Sorter.DocMap docMap) |
SortingPostingsEnum(int maxDoc,
SortingLeafReader.SortingPostingsEnum reuse,
PostingsEnum in,
Sorter.DocMap docMap,
boolean storeOffsets) |
Modifier and Type | Class and Description |
---|---|
private class |
MemoryIndex.MemoryIndexReader.MemoryPostingsEnum |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
MemoryIndex.MemoryIndexReader.MemoryPostingsEnum.reset(int start,
int end,
int freq) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
PayloadSpanCollector.collectLeaf(PostingsEnum postings,
int position,
Term term) |
Modifier and Type | Method and Description |
---|---|
void |
SpanPayloadCheckQuery.PayloadChecker.collectLeaf(PostingsEnum postings,
int position,
Term term) |
void |
PayloadScoreQuery.PayloadSpans.collectLeaf(PostingsEnum postings,
int position,
Term term) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MultiPhraseQuery.UnionPostingsEnum
Takes the logical union of multiple PostingsEnum iterators.
|
Modifier and Type | Field and Description |
---|---|
PostingsEnum |
TermAutomatonQuery.EnumAndScorer.posEnum |
(package private) PostingsEnum |
PhraseQuery.PostingsAndFreq.postings |
(package private) PostingsEnum |
PhrasePositions.postings |
private PostingsEnum |
ExactPhraseScorer.PostingsAndPosition.postings |
private PostingsEnum |
TermScorer.postingsEnum |
(package private) PostingsEnum[] |
MultiPhraseQuery.UnionPostingsEnum.subs
list of subs (unordered)
|
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
FuzzyTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
boolean |
MultiPhraseQuery.UnionPostingsEnum.DocsQueue.lessThan(PostingsEnum a,
PostingsEnum b) |
PostingsEnum |
FuzzyTermsEnum.postings(PostingsEnum reuse,
int flags) |
Constructor and Description |
---|
EnumAndScorer(int termID,
PostingsEnum posEnum) |
PhrasePositions(PostingsEnum postings,
int o,
int ord,
Term[] terms) |
PostingsAndFreq(PostingsEnum postings,
int position,
Term... terms) |
PostingsAndPosition(PostingsEnum postings,
int offset) |
TermScorer(Weight weight,
PostingsEnum td,
Similarity.SimScorer docScorer)
Construct a
TermScorer . |
Constructor and Description |
---|
UnionPostingsEnum(java.util.Collection<PostingsEnum> subs) |
Modifier and Type | Field and Description |
---|---|
protected PostingsEnum |
TermSpans.postings |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
TermSpans.getPostings() |
Modifier and Type | Method and Description |
---|---|
void |
SpanCollector.collectLeaf(PostingsEnum postings,
int position,
Term term)
Collect information from postings
|
Constructor and Description |
---|
TermSpans(Similarity.SimScorer scorer,
PostingsEnum postings,
Term term,
float positionsCost) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
CompositeOffsetsPostingsEnum
Provides a view over several underlying PostingsEnums for the iteration of offsets on the current document only.
|
private static class |
TokenStreamOffsetStrategy.TokenStreamPostingsEnum |
Modifier and Type | Field and Description |
---|---|
protected static PostingsEnum |
FieldHighlighter.EMPTY |
private PostingsEnum |
OffsetsEnum.postingsEnum |
private PostingsEnum |
CompositeOffsetsPostingsEnum.BoundsCheckingPostingsEnum.postingsEnum |
Modifier and Type | Method and Description |
---|---|
(package private) PostingsEnum |
PhraseHelper.filterPostings(BytesRef term,
PostingsEnum postingsEnum,
Spans spans)
Returns a filtered postings where the position must be in the given Spans.
|
PostingsEnum |
OffsetsEnum.getPostingsEnum() |
PostingsEnum |
TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
(package private) PostingsEnum |
PhraseHelper.filterPostings(BytesRef term,
PostingsEnum postingsEnum,
Spans spans)
Returns a filtered postings where the position must be in the given Spans.
|
PostingsEnum |
TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
Constructor and Description |
---|
BoundsCheckingPostingsEnum(PostingsEnum postingsEnum) |
OffsetsEnum(BytesRef term,
PostingsEnum postingsEnum) |
Constructor and Description |
---|
CompositeOffsetsPostingsEnum(java.util.List<PostingsEnum> postingsEnums)
The provided
PostingsEnum s must all be positioned to the same document, and must have offsets. |