Uses of Class
org.apache.lucene.codecs.Codec
-
Packages that use Codec Package Description 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.codecs.lucene45 Lucene 4.5 file format.org.apache.lucene.codecs.lucene46 Lucene 4.6 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 Modifier and Type Class Description class
FilterCodec
A codec that forwards all its method calls to another codec.Fields in org.apache.lucene.codecs declared as Codec Modifier and Type Field Description protected Codec
FilterCodec. delegate
The codec to filter.Methods in org.apache.lucene.codecs that return Codec Modifier and Type Method Description static Codec
Codec. forName(java.lang.String name)
looks up a codec by namestatic Codec
Codec. getDefault()
expert: returns the default codec used for newly createdIndexWriterConfig
s.Methods in org.apache.lucene.codecs with parameters of type Codec Modifier and Type Method Description static void
Codec. setDefault(Codec codec)
expert: sets the default codec used for newly createdIndexWriterConfig
s.Constructors in org.apache.lucene.codecs with parameters of type Codec Constructor Description FilterCodec(java.lang.String name, Codec delegate)
Sole constructor. -
Uses of Codec in org.apache.lucene.codecs.lucene3x
Subclasses of Codec in org.apache.lucene.codecs.lucene3x Modifier and Type Class Description 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 Modifier and Type Class Description 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 Modifier and Type Class Description 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 Modifier and Type Class Description class
Lucene42Codec
Deprecated.Only for reading old 4.2 segments -
Uses of Codec in org.apache.lucene.codecs.lucene45
Subclasses of Codec in org.apache.lucene.codecs.lucene45 Modifier and Type Class Description class
Lucene45Codec
Deprecated.Only for reading old 4.3-4.5 segments -
Uses of Codec in org.apache.lucene.codecs.lucene46
Subclasses of Codec in org.apache.lucene.codecs.lucene46 Modifier and Type Class Description class
Lucene46Codec
Implements the Lucene 4.6 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 Modifier and Type Field Description Codec
CheckIndex.Status.SegmentInfoStatus. codec
Codec used to read this segment.protected Codec
LiveIndexWriterConfig. codec
Codec
used to write new segments.Methods in org.apache.lucene.index that return Codec Modifier and Type Method Description Codec
IndexWriterConfig. getCodec()
Codec
LiveIndexWriterConfig. getCodec()
Returns the currentCodec
.Codec
SegmentInfo. getCodec()
ReturnCodec
that wrote this segment.Methods in org.apache.lucene.index with parameters of type Codec Modifier and Type Method Description IndexWriterConfig
IndexWriterConfig. setCodec(Codec codec)
Set theCodec
.void
SegmentInfo. setCodec(Codec codec)
Can only be called once.Constructors in org.apache.lucene.index with parameters of type Codec Constructor Description SegmentInfo(Directory dir, java.lang.String version, java.lang.String name, int docCount, boolean isCompoundFile, Codec codec, java.util.Map<java.lang.String,java.lang.String> diagnostics)
Construct a new complete SegmentInfo instance from input.SegmentInfo(Directory dir, java.lang.String version, java.lang.String name, int docCount, boolean isCompoundFile, Codec codec, java.util.Map<java.lang.String,java.lang.String> diagnostics, java.util.Map<java.lang.String,java.lang.String> attributes)
Construct a new complete SegmentInfo instance from input.
-