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.bloom |
Codec PostingsFormat for fast access to low-frequency terms
such as primary key 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.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene70 |
Components from the Lucene 7.0 index format.
|
org.apache.lucene.codecs.lucene80 |
Lucene 8.0 file format.
|
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
|
org.apache.lucene.codecs.perfield |
Postings format that can delegate to different formats per-field.
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Field and Description |
---|---|
static PostingsFormat[] |
PostingsFormat.EMPTY
Zero-length
PostingsFormat array. |
Modifier and Type | Field and Description |
---|---|
private static NamedSPILoader<PostingsFormat> |
PostingsFormat.Holder.LOADER |
Modifier and Type | Method and Description |
---|---|
static PostingsFormat |
PostingsFormat.forName(java.lang.String name)
looks up a format by name
|
abstract PostingsFormat |
Codec.postingsFormat()
Encodes/decodes postings
|
PostingsFormat |
FilterCodec.postingsFormat() |
Modifier and Type | Method and Description |
---|---|
(package private) static NamedSPILoader<PostingsFormat> |
PostingsFormat.Holder.getLoader() |
Modifier and Type | Class and Description |
---|---|
class |
BlockTreeOrdsPostingsFormat
Uses
OrdsBlockTreeTermsWriter with Lucene50PostingsWriter . |
Modifier and Type | Class and Description |
---|---|
class |
BloomFilteringPostingsFormat
A
PostingsFormat useful for low doc-frequency fields such as primary
keys. |
Modifier and Type | Field and Description |
---|---|
private PostingsFormat |
BloomFilteringPostingsFormat.delegatePostingsFormat |
Constructor and Description |
---|
BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat)
Creates Bloom filters for a selection of fields created in the index.
|
BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat,
BloomFilterFactory bloomFilterFactory)
Creates Bloom filters for a selection of fields created in the index.
|
Modifier and Type | Class and Description |
---|---|
class |
IDVersionPostingsFormat
A PostingsFormat optimized for primary-key (ID) fields that also
record a version (long) for each ID, delivered as a payload
created by
IDVersionPostingsFormat.longToBytes(long, org.apache.lucene.util.BytesRef) during indexing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene50PostingsFormat
Lucene 5.0 postings format, which encodes postings in packed integer blocks
for fast decode.
|
Modifier and Type | Field and Description |
---|---|
private PostingsFormat |
Lucene70Codec.postingsFormat |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene70Codec.postingsFormat() |
Modifier and Type | Field and Description |
---|---|
private PostingsFormat |
Lucene80Codec.defaultFormat |
private PostingsFormat |
Lucene80Codec.postingsFormat |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene80Codec.getPostingsFormatForField(java.lang.String field)
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene80Codec.postingsFormat() |
Modifier and Type | Class and Description |
---|---|
class |
DirectPostingsFormat
Wraps
Lucene50PostingsFormat format for on-disk
storage, but then at read time loads and stores all
terms and postings directly in RAM as byte[], int[]. |
class |
FSTOrdPostingsFormat
FSTOrd term dict + Lucene50PBF
|
class |
FSTPostingsFormat
FST term dict + Lucene50PBF
|
Modifier and Type | Class and Description |
---|---|
class |
PerFieldPostingsFormat
Enables per field postings support.
|
Modifier and Type | Method and Description |
---|---|
abstract PostingsFormat |
PerFieldPostingsFormat.getPostingsFormatForField(java.lang.String field)
Returns the postings format that should be used for writing
new segments of
field . |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<PostingsFormat,PerFieldPostingsFormat.FieldsGroup> |
PerFieldPostingsFormat.FieldsWriter.buildFieldsGroupMapping(java.lang.Iterable<java.lang.String> indexedFieldNames) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SimpleTextPostingsFormat
For debugging, curiosity, transparency only!! Do not
use this codec in production.
|
Modifier and Type | Field and Description |
---|---|
private PostingsFormat |
SimpleTextCodec.postings |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
SimpleTextCodec.postingsFormat() |
Modifier and Type | Class and Description |
---|---|
class |
Completion50PostingsFormat
|
class |
CompletionPostingsFormat
A
PostingsFormat which supports document suggestion based on
indexed SuggestField s. |
Modifier and Type | Method and Description |
---|---|
protected abstract PostingsFormat |
CompletionPostingsFormat.delegatePostingsFormat()
Concrete implementation should specify the delegating postings format
|
protected PostingsFormat |
Completion50PostingsFormat.delegatePostingsFormat() |
Constructor and Description |
---|
CompletionFieldsConsumer(PostingsFormat delegatePostingsFormat,
SegmentWriteState state) |