Lucene99ScalarQuantizedVectorsFormat

class Lucene99ScalarQuantizedVectorsFormat(val confidenceInterval: Float? = null, val bits: Int = 7, val compress: Boolean = false) : FlatVectorsFormat

Format supporting vector quantization, storage, and retrieval.

Constructors

Link copied to clipboard
constructor(confidenceInterval: Float? = null, bits: Int = 7, compress: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bits: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open lateinit override var name: String

Functions

Link copied to clipboard

Returns a KnnVectorsReader to read the vectors from the index.

Link copied to clipboard

Returns a FlatVectorsWriter to write the vectors to the index.

Link copied to clipboard
open override fun getMaxDimensions(fieldName: String): Int

Returns the maximum number of vector dimensions supported by this codec for the given field name

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