Lucene101Codec

class Lucene101Codec @JvmOverloads constructor(mode: Lucene101Codec.Mode? = Mode.BEST_SPEED) : Codec

Implements the Lucene 10.1 index format

If you want to reuse functionality of this codec in another codec, extend FilterCodec.

See also

package documentation for file format details.

Constructors

Link copied to clipboard
constructor(mode: Lucene101Codec.Mode? = Mode.BEST_SPEED)

Types

Link copied to clipboard

Configuration option for the codec.

Properties

Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open override fun compoundFormat(): CompoundFormat

Encodes/decodes compound files

Link copied to clipboard
open override fun docValuesFormat(): DocValuesFormat

Encodes/decodes docvalues

Link copied to clipboard
open override fun fieldInfosFormat(): FieldInfosFormat

Encodes/decodes field infos file

Link copied to clipboard

Returns the docvalues format that should be used for writing new segments of field .

Link copied to clipboard

Returns the vectors format that should be used for writing new segments of field

Link copied to clipboard

Returns the postings format that should be used for writing new segments of field.

Link copied to clipboard
open override fun knnVectorsFormat(): KnnVectorsFormat

Encodes/decodes numeric vector fields

Link copied to clipboard
open override fun liveDocsFormat(): LiveDocsFormat

Encodes/decodes live docs

Link copied to clipboard
open override fun normsFormat(): NormsFormat

Encodes/decodes document normalization values

Link copied to clipboard
open override fun pointsFormat(): PointsFormat

Encodes/decodes points index

Link copied to clipboard
open override fun postingsFormat(): PostingsFormat

Encodes/decodes postings

Link copied to clipboard

Encodes/decodes segment info file

Link copied to clipboard

Instantiates a new codec, specifying the stored fields compression mode to use.

Link copied to clipboard

Encodes/decodes term vectors

Link copied to clipboard
open override fun toString(): String

returns the codec's name. Subclasses can override to provide more detail (such as parameters).