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.lucene41 |
Lucene 4.1 file format.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene53 for an overview
of the index format. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.uninverting |
Support for creating docvalues on-the-fly from the inverted index at runtime.
|
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 |
Lucene41PostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
Lucene41PostingsReader.postings(FieldInfo fieldInfo,
BlockTermState termState,
PostingsEnum reuse,
int flags)
Deprecated.
|
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
|
class |
DocsAndPositionsEnum
Deprecated.
Use
PostingsEnum instead. |
class |
DocsEnum
Deprecated.
Use
PostingsEnum instead. |
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,
String field,
BytesRef term)
Returns
PostingsEnum for the specified field and
term. |
static PostingsEnum |
MultiFields.getTermDocsEnum(IndexReader r,
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,
String field,
BytesRef term)
Returns
PostingsEnum for the specified
field and term. |
static PostingsEnum |
MultiFields.getTermPositionsEnum(IndexReader r,
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 |
FilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilterLeafReader.FilterTermsEnum.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(String field,
PostingsEnum p1,
PostingsEnum p2) |
PostingsEnum |
TermsEnum.postings(PostingsEnum reuse)
Get
PostingsEnum for the current term. |
PostingsEnum |
FilteredTermsEnum.postings(PostingsEnum reuse,
int flags) |
PostingsEnum |
FilterLeafReader.FilterTermsEnum.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 |
---|---|
PostingsEnum |
FuzzyTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
PostingsEnum |
FuzzyTermsEnum.postings(PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
PayloadSpanCollector.collectLeaf(PostingsEnum postings,
int position,
Term term) |
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(PostingsEnum postings,
Term term) |
Modifier and Type | Field and Description |
---|---|
protected PostingsEnum |
AbstractPrefixTreeFilter.BaseTermsEnumTraverser.postingsEnum |
Modifier and Type | Field and Description |
---|---|
protected PostingsEnum |
DocTermOrds.postingsEnum
Used while uninverting.
|
Modifier and Type | Method and Description |
---|---|
static PostingsEnum |
TestUtil.docs(Random random,
IndexReader r,
String field,
BytesRef term,
PostingsEnum reuse,
int flags) |
static PostingsEnum |
TestUtil.docs(Random random,
TermsEnum termsEnum,
PostingsEnum reuse,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
LuceneTestCase.assertDocsAndPositionsEnumEquals(String info,
PostingsEnum leftDocs,
PostingsEnum rightDocs)
checks docs + freqs + positions + payloads, sequentially
|
void |
LuceneTestCase.assertDocsEnumEquals(String info,
PostingsEnum leftDocs,
PostingsEnum rightDocs,
boolean hasFreqs)
checks docs + freqs, sequentially
|
void |
LuceneTestCase.assertDocsSkippingEquals(String info,
IndexReader leftReader,
int docFreq,
PostingsEnum leftDocs,
PostingsEnum rightDocs,
boolean hasFreqs)
checks advancing docs
|
void |
LuceneTestCase.assertPositionsSkippingEquals(String info,
IndexReader leftReader,
int docFreq,
PostingsEnum leftDocs,
PostingsEnum rightDocs)
checks advancing docs + positions
|
static PostingsEnum |
TestUtil.docs(Random random,
IndexReader r,
String field,
BytesRef term,
PostingsEnum reuse,
int flags) |
static PostingsEnum |
TestUtil.docs(Random random,
TermsEnum termsEnum,
PostingsEnum reuse,
int flags) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.