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