Class Lucene41Codec
- java.lang.Object
-
- org.apache.lucene.codecs.Codec
-
- org.apache.lucene.codecs.lucene41.Lucene41Codec
-
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
@Deprecated public class Lucene41Codec extends Codec
Deprecated.Only for reading old 4.0 segmentsImplements the Lucene 4.1 index format, with configurable per-field postings formats.If you want to reuse functionality of this codec in another codec, extend
FilterCodec
.
-
-
Constructor Summary
Constructors Constructor Description Lucene41Codec()
Deprecated.Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DocValuesFormat
docValuesFormat()
Deprecated.Encodes/decodes docvaluesFieldInfosFormat
fieldInfosFormat()
Deprecated.Encodes/decodes field infos filePostingsFormat
getPostingsFormatForField(String field)
Deprecated.Returns the postings format that should be used for writing new segments offield
.LiveDocsFormat
liveDocsFormat()
Deprecated.Encodes/decodes live docsNormsFormat
normsFormat()
Deprecated.Encodes/decodes document normalization valuesPostingsFormat
postingsFormat()
Deprecated.Encodes/decodes postingsSegmentInfoFormat
segmentInfoFormat()
Deprecated.Encodes/decodes segment info fileStoredFieldsFormat
storedFieldsFormat()
Deprecated.Encodes/decodes stored fieldsTermVectorsFormat
termVectorsFormat()
Deprecated.Encodes/decodes term vectors-
Methods inherited from class org.apache.lucene.codecs.Codec
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toString
-
-
-
-
Method Detail
-
storedFieldsFormat
public StoredFieldsFormat storedFieldsFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes stored fields- Specified by:
storedFieldsFormat
in classCodec
-
termVectorsFormat
public final TermVectorsFormat termVectorsFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes term vectors- Specified by:
termVectorsFormat
in classCodec
-
postingsFormat
public final PostingsFormat postingsFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes postings- Specified by:
postingsFormat
in classCodec
-
fieldInfosFormat
public FieldInfosFormat fieldInfosFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes field infos file- Specified by:
fieldInfosFormat
in classCodec
-
segmentInfoFormat
public SegmentInfoFormat segmentInfoFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes segment info file- Specified by:
segmentInfoFormat
in classCodec
-
liveDocsFormat
public final LiveDocsFormat liveDocsFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes live docs- Specified by:
liveDocsFormat
in classCodec
-
getPostingsFormatForField
public PostingsFormat getPostingsFormatForField(String field)
Deprecated.Returns the postings format that should be used for writing new segments offield
. The default implementation always returns "Lucene41"
-
docValuesFormat
public DocValuesFormat docValuesFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes docvalues- Specified by:
docValuesFormat
in classCodec
-
normsFormat
public NormsFormat normsFormat()
Deprecated.Description copied from class:Codec
Encodes/decodes document normalization values- Specified by:
normsFormat
in classCodec
-
-