## Uses of Class
org.apache.lucene.codecs.Codec

Packages that use Codec
org.apache.lucene.codecs: Codecs API: API for customization of the encoding and structure of the index.
org.apache.lucene.codecs.lucene3x: Codec to support Lucene 3.x indexes (readonly)
org.apache.lucene.codecs.lucene40: Lucene 4.0 file format.
org.apache.lucene.codecs.lucene41: Lucene 4.1 file format.
org.apache.lucene.codecs.lucene42: Lucene 4.2 file format.
org.apache.lucene.index: Code to maintain and access indices.

Uses of Codec in org.apache.lucene.codecs

Subclasses of Codec in org.apache.lucene.codecs
`class` `FilterCodec` A codec that forwards all its method calls to another codec.

Fields in org.apache.lucene.codecs declared as Codec
`protected Codec` `FilterCodec.delegate` The codec to filter.

Methods in org.apache.lucene.codecs that return Codec
`static Codec` `Codec.forName(String name)` looks up a codec by name
`static Codec` `Codec.getDefault()` expert: returns the default codec used for newly created `IndexWriterConfig`s.

Methods in org.apache.lucene.codecs with parameters of type Codec
`static void` `Codec.setDefault(Codec codec)` expert: sets the default codec used for newly created `IndexWriterConfig`s.

Constructors in org.apache.lucene.codecs with parameters of type Codec
`FilterCodec(String name, Codec delegate)` Sole constructor.

Uses of Codec in org.apache.lucene.codecs.lucene3x

Subclasses of Codec in org.apache.lucene.codecs.lucene3x
`class` `Lucene3xCodec` Deprecated. Only for reading existing 3.x indexes

Uses of Codec in org.apache.lucene.codecs.lucene40

Subclasses of Codec in org.apache.lucene.codecs.lucene40
`class` `Lucene40Codec` Deprecated. Only for reading old 4.0 segments

Uses of Codec in org.apache.lucene.codecs.lucene41

Subclasses of Codec in org.apache.lucene.codecs.lucene41
`class` `Lucene41Codec` Deprecated. Only for reading old 4.0 segments

Uses of Codec in org.apache.lucene.codecs.lucene42

Subclasses of Codec in org.apache.lucene.codecs.lucene42
`class` `Lucene42Codec` Implements the Lucene 4.2 index format, with configurable per-field postings and docvalues formats.

Uses of Codec in org.apache.lucene.index

Fields in org.apache.lucene.index declared as Codec
`protected Codec` `LiveIndexWriterConfig.codec` `Codec` used to write new segments.
`Codec` `CheckIndex.Status.SegmentInfoStatus.codec` Codec used to read this segment.

Methods in org.apache.lucene.index that return Codec
`Codec` `SegmentInfo.getCodec()` Return `Codec` that wrote this segment.
`Codec` `LiveIndexWriterConfig.getCodec()` Returns the current `Codec`.
`Codec` `IndexWriterConfig.getCodec()`

Methods in org.apache.lucene.index with parameters of type Codec
`void` `CheckIndex.fixIndex(CheckIndex.Status result, Codec codec)` Repairs the index using previously returned result from `CheckIndex.checkIndex()`.
`void` `SegmentInfo.setCodec(Codec codec)` Can only be called once.
`IndexWriterConfig` `IndexWriterConfig.setCodec(Codec codec)` Set the `Codec`.

Constructors in org.apache.lucene.index with parameters of type Codec
`SegmentInfo(Directory dir, String version, String name, int docCount, boolean isCompoundFile, Codec codec, Map<String,String> diagnostics, Map<String,String> attributes)` Construct a new complete SegmentInfo instance from input.

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.