Class Lucene70Codec
- java.lang.Object
-
- org.apache.lucene.codecs.Codec
-
- org.apache.lucene.backward_codecs.lucene70.Lucene70Codec
-
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
public class Lucene70Codec extends Codec
Implements the Lucene 7.0 index format, with configurable per-field postings and docvalues formats.If you want to reuse functionality of this codec in another codec, extend
FilterCodec
.- See Also:
package documentation for file format details.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description Lucene70Codec()
Instantiates a new codec.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundFormat
compoundFormat()
DocValuesFormat
docValuesFormat()
FieldInfosFormat
fieldInfosFormat()
KnnVectorsFormat
knnVectorsFormat()
LiveDocsFormat
liveDocsFormat()
NormsFormat
normsFormat()
PointsFormat
pointsFormat()
PostingsFormat
postingsFormat()
SegmentInfoFormat
segmentInfoFormat()
StoredFieldsFormat
storedFieldsFormat()
TermVectorsFormat
termVectorsFormat()
-
Methods inherited from class org.apache.lucene.codecs.Codec
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toString
-
-
-
-
Method Detail
-
storedFieldsFormat
public StoredFieldsFormat storedFieldsFormat()
- Specified by:
storedFieldsFormat
in classCodec
-
termVectorsFormat
public TermVectorsFormat termVectorsFormat()
- Specified by:
termVectorsFormat
in classCodec
-
postingsFormat
public PostingsFormat postingsFormat()
- Specified by:
postingsFormat
in classCodec
-
fieldInfosFormat
public final FieldInfosFormat fieldInfosFormat()
- Specified by:
fieldInfosFormat
in classCodec
-
segmentInfoFormat
public SegmentInfoFormat segmentInfoFormat()
- Specified by:
segmentInfoFormat
in classCodec
-
liveDocsFormat
public final LiveDocsFormat liveDocsFormat()
- Specified by:
liveDocsFormat
in classCodec
-
compoundFormat
public CompoundFormat compoundFormat()
- Specified by:
compoundFormat
in classCodec
-
pointsFormat
public final PointsFormat pointsFormat()
- Specified by:
pointsFormat
in classCodec
-
knnVectorsFormat
public KnnVectorsFormat knnVectorsFormat()
- Specified by:
knnVectorsFormat
in classCodec
-
docValuesFormat
public final DocValuesFormat docValuesFormat()
- Specified by:
docValuesFormat
in classCodec
-
normsFormat
public NormsFormat normsFormat()
- Specified by:
normsFormat
in classCodec
-
-