Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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.perfield |
Postings format that can delegate to different formats per-field.
|
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 |
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 |
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) |