public class Lucene84Codec extends Codec
If you want to reuse functionality of this codec in another codec, extend
FilterCodec.
package documentation for file format details.| Constructor and Description |
|---|
Lucene84Codec()
Instantiates a new codec.
|
Lucene84Codec(Lucene50StoredFieldsFormat.Mode mode)
Instantiates a new codec, specifying the stored fields compression
mode to use.
|
| Modifier and Type | Method and Description |
|---|---|
CompoundFormat |
compoundFormat() |
DocValuesFormat |
docValuesFormat() |
FieldInfosFormat |
fieldInfosFormat() |
DocValuesFormat |
getDocValuesFormatForField(String field)
Returns the docvalues format that should be used for writing
new segments of
field. |
PostingsFormat |
getPostingsFormatForField(String field)
Returns the postings format that should be used for writing
new segments of
field. |
LiveDocsFormat |
liveDocsFormat() |
NormsFormat |
normsFormat() |
PointsFormat |
pointsFormat() |
PostingsFormat |
postingsFormat() |
SegmentInfoFormat |
segmentInfoFormat() |
StoredFieldsFormat |
storedFieldsFormat() |
TermVectorsFormat |
termVectorsFormat() |
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toStringpublic Lucene84Codec()
public Lucene84Codec(Lucene50StoredFieldsFormat.Mode mode)
mode - stored fields compression mode to use for newly
flushed/merged segments.public StoredFieldsFormat storedFieldsFormat()
storedFieldsFormat in class Codecpublic final TermVectorsFormat termVectorsFormat()
termVectorsFormat in class Codecpublic final PostingsFormat postingsFormat()
postingsFormat in class Codecpublic final FieldInfosFormat fieldInfosFormat()
fieldInfosFormat in class Codecpublic SegmentInfoFormat segmentInfoFormat()
segmentInfoFormat in class Codecpublic final LiveDocsFormat liveDocsFormat()
liveDocsFormat in class Codecpublic final CompoundFormat compoundFormat()
compoundFormat in class Codecpublic PointsFormat pointsFormat()
pointsFormat in class Codecpublic PostingsFormat getPostingsFormatForField(String field)
field.
The default implementation always returns "Lucene84".
WARNING: if you subclass, you are responsible for index backwards compatibility: future version of Lucene are only guaranteed to be able to read the default implementation.
public DocValuesFormat getDocValuesFormatForField(String field)
field.
The default implementation always returns "Lucene80".
WARNING: if you subclass, you are responsible for index backwards compatibility: future version of Lucene are only guaranteed to be able to read the default implementation.
public final DocValuesFormat docValuesFormat()
docValuesFormat in class Codecpublic final NormsFormat normsFormat()
normsFormat in class CodecCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.