Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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.index |
Code to maintain and access indices.
|
Modifier and Type | Class and Description |
---|---|
class |
FilterCodec
A codec that forwards all its method calls to another codec.
|
Modifier and Type | Field and Description |
---|---|
(package private) static Codec |
Codec.Holder.defaultCodec |
protected Codec |
FilterCodec.delegate
The codec to filter.
|
Modifier and Type | Field and Description |
---|---|
private static NamedSPILoader<Codec> |
Codec.Holder.LOADER |
Modifier and Type | Method and Description |
---|---|
static Codec |
Codec.forName(java.lang.String name)
looks up a codec by name
|
static Codec |
Codec.getDefault()
expert: returns the default codec used for newly created
IndexWriterConfig s. |
Modifier and Type | Method and Description |
---|---|
(package private) static NamedSPILoader<Codec> |
Codec.Holder.getLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
Codec.setDefault(Codec codec)
expert: sets the default codec used for newly created
IndexWriterConfig s. |
Constructor and Description |
---|
FilterCodec(java.lang.String name,
Codec delegate)
Sole constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene70Codec
Implements the Lucene 7.0 index format, with configurable per-field postings
and docvalues formats.
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene80Codec
Implements the Lucene 8.0 index format, with configurable per-field postings
and docvalues formats.
|
Modifier and Type | Field and Description |
---|---|
(package private) Codec |
IndexWriter.codec |
protected Codec |
LiveIndexWriterConfig.codec
Codec used to write new segments. |
private Codec |
SegmentInfo.codec |
Codec |
CheckIndex.Status.SegmentInfoStatus.codec
Codec used to read this segment.
|
private Codec |
SegmentMerger.codec |
(package private) Codec |
DocumentsWriterPerThread.codec |
Modifier and Type | Method and Description |
---|---|
Codec |
LiveIndexWriterConfig.getCodec()
Returns the current
Codec . |
Codec |
SegmentInfo.getCodec()
Return
Codec that wrote this segment. |
Codec |
IndexWriterConfig.getCodec() |
private static Codec |
SegmentInfos.readCodec(DataInput input) |
Modifier and Type | Method and Description |
---|---|
void |
SegmentInfo.setCodec(Codec codec)
Can only be called once.
|
IndexWriterConfig |
IndexWriterConfig.setCodec(Codec codec)
Set the
Codec . |
Constructor and Description |
---|
SegmentInfo(Directory dir,
Version version,
Version minVersion,
java.lang.String name,
int maxDoc,
boolean isCompoundFile,
Codec codec,
java.util.Map<java.lang.String,java.lang.String> diagnostics,
byte[] id,
java.util.Map<java.lang.String,java.lang.String> attributes,
Sort indexSort)
Construct a new complete SegmentInfo instance from input.
|