ScalarQuantizedVectorScorer

Default scalar quantized implementation of FlatVectorsScorer.

Constructors

Link copied to clipboard
constructor(nonQuantizedDelegate: FlatVectorsScorer)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getRandomVectorScorer(similarityFunction: VectorSimilarityFunction, vectorValues: KnnVectorValues, target: ByteArray): RandomVectorScorer
open override fun getRandomVectorScorer(similarityFunction: VectorSimilarityFunction, vectorValues: KnnVectorValues, target: FloatArray): RandomVectorScorer

Returns a RandomVectorScorer for the given set of vectors and target vector.

Link copied to clipboard

Returns a RandomVectorScorerSupplier that can be used to score vectors

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