Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
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.index |
Code to maintain and access indices.
|
org.apache.lucene.payloads |
Experimental classes for interacting with 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.
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.util |
Some utility classes.
|
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 | Method and Description |
---|---|
PostingsEnum |
OrdsSegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
OrdsSegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
IDVersionSegmentTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
IDVersionSegmentTermsEnum.postings(PostingsEnum reuse,
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 |
Lucene50PostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags) |
Modifier and Type | Class and Description |
---|---|
static class |
AssertingLeafReader.AssertingPostingsEnum
Wraps a docsenum with additional checks
|
static class |
FilterLeafReader.FilterPostingsEnum
Base class for filtering
PostingsEnum implementations. |
class |
MultiPostingsEnum
Exposes
PostingsEnum , merged from PostingsEnum
API of sub-segments. |
static class |
RandomPostingsTester.SeedPostings
Given the same random seed this always enumerates the
same random postings
|
Modifier and Type | Field and Description |
---|---|
protected PostingsEnum |
FilterLeafReader.FilterPostingsEnum.in
The underlying PostingsEnum instance.
|
PostingsEnum |
MultiPostingsEnum.EnumWithSlice.postingsEnum
PostingsEnum for this sub-reader. |
protected PostingsEnum[] |
PerThreadPKLookup.postingsEnums |
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. |
PostingsEnum |
TermsEnum.postings(PostingsEnum reuse)
Get
PostingsEnum for the current term. |
PostingsEnum |
FilterLeafReader.FilterTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
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 |
MultiTermsEnum.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 |
---|---|
protected void |
BasePostingsFormatTestCase.assertReused(java.lang.String field,
PostingsEnum p1,
PostingsEnum p2) |
PostingsEnum |
TermsEnum.postings(PostingsEnum reuse)
Get
PostingsEnum for the current term. |
PostingsEnum |
FilterLeafReader.FilterTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
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 |
MultiTermsEnum.postings(PostingsEnum reuse,
int flags) |
Constructor and Description |
---|
AssertingPostingsEnum(PostingsEnum in) |
FilterPostingsEnum(PostingsEnum in)
Create a new FilterPostingsEnum
|
Modifier and Type | Method and Description |
---|---|
void |
PayloadSpanCollector.collectLeaf(PostingsEnum postings,
int position,
Term term) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
FuzzyTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
FuzzyTermsEnum.postings(PostingsEnum reuse,
int flags) |
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 | Method and Description |
---|---|
PostingsEnum |
OffsetsEnum.OfPostings.getPostingsEnum() |
Constructor and Description |
---|
OfPostings(BytesRef term,
int freq,
PostingsEnum postingsEnum) |
OfPostings(BytesRef term,
PostingsEnum postingsEnum) |
Modifier and Type | Field and Description |
---|---|
protected PostingsEnum |
AbstractPrefixTreeQuery.BaseTermsEnumTraverser.postingsEnum |
Modifier and Type | Method and Description |
---|---|
static PostingsEnum |
TestUtil.docs(java.util.Random random,
IndexReader r,
java.lang.String field,
BytesRef term,
PostingsEnum reuse,
int flags) |
static PostingsEnum |
TestUtil.docs(java.util.Random random,
TermsEnum termsEnum,
PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
LuceneTestCase.assertDocsAndPositionsEnumEquals(java.lang.String info,
PostingsEnum leftDocs,
PostingsEnum rightDocs)
checks docs + freqs + positions + payloads, sequentially
|
void |
LuceneTestCase.assertDocsEnumEquals(java.lang.String info,
PostingsEnum leftDocs,
PostingsEnum rightDocs,
boolean hasFreqs)
checks docs + freqs, sequentially
|
void |
LuceneTestCase.assertDocsSkippingEquals(java.lang.String info,
IndexReader leftReader,
int docFreq,
PostingsEnum leftDocs,
PostingsEnum rightDocs,
boolean hasFreqs)
checks advancing docs
|
void |
LuceneTestCase.assertPositionsSkippingEquals(java.lang.String info,
IndexReader leftReader,
int docFreq,
PostingsEnum leftDocs,
PostingsEnum rightDocs)
checks advancing docs + positions
|
static PostingsEnum |
TestUtil.docs(java.util.Random random,
IndexReader r,
java.lang.String field,
BytesRef term,
PostingsEnum reuse,
int flags) |
static PostingsEnum |
TestUtil.docs(java.util.Random random,
TermsEnum termsEnum,
PostingsEnum reuse,
int flags) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.