FlatVectorsFormat

Encodes/decodes per-document vectors and provides a scoring interface for the flat stored vectors

Inheritors

Properties

Link copied to clipboard
open lateinit override var name: String

Functions

Link copied to clipboard
abstract override fun fieldsReader(state: SegmentReadState): FlatVectorsReader

Returns a KnnVectorsReader to read the vectors from the index.

Link copied to clipboard
abstract override fun fieldsWriter(state: SegmentWriteState): FlatVectorsWriter

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