Uses of Class
org.apache.lucene.util.ScalarQuantizer
Package
Description
Lucene 9.9 file format.
Some utility classes.
-
Uses of ScalarQuantizer in org.apache.lucene.codecs.lucene99
Modifier and TypeMethodDescriptionLucene99HnswVectorsReader.getQuantizationState
(String field) Lucene99ScalarQuantizedVectorsReader.getQuantizationState
(String fieldName) -
Uses of ScalarQuantizer in org.apache.lucene.util
Modifier and TypeMethodDescriptionstatic ScalarQuantizer
ScalarQuantizer.fromVectors
(FloatVectorValues floatVectorValues, float confidenceInterval) This will read the float vector values and calculate the quantiles.Modifier and TypeMethodDescriptionfloat
ScalarQuantizer.recalculateCorrectiveOffset
(byte[] quantizedVector, ScalarQuantizer oldQuantizer, VectorSimilarityFunction similarityFunction) Recalculate the old score corrective value given new current quantiles