FlatVectorsScorer
interface FlatVectorsScorer
Provides mechanisms to score vectors that are stored in a flat file The purpose of this class is for providing flexibility to the codec utilizing the vectors
Inheritors
Functions
Link copied to clipboard
abstract fun getRandomVectorScorer(similarityFunction: VectorSimilarityFunction, vectorValues: KnnVectorValues, target: ByteArray): RandomVectorScorer
abstract 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
abstract fun getRandomVectorScorerSupplier(similarityFunction: VectorSimilarityFunction, vectorValues: KnnVectorValues): RandomVectorScorerSupplier
Returns a RandomVectorScorerSupplier that can be used to score vectors