KnnVectorsFormat

Encodes/decodes per-document vector and any associated indexing structures required to support nearest-neighbor search

Inheritors

Types

Link copied to clipboard
object Companion

Properties

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 KnnVectorsWriter to write the vectors to the index.

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

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