Uses of Class
org.apache.lucene.util.ScalarQuantizer
-
Packages that use ScalarQuantizer Package Description org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.util Some utility classes. -
-
Uses of ScalarQuantizer in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return ScalarQuantizer Modifier and Type Method Description ScalarQuantizerLucene99HnswVectorsReader. getQuantizationState(String field)ScalarQuantizerLucene99ScalarQuantizedVectorsReader. getQuantizationState(String fieldName) -
Uses of ScalarQuantizer in org.apache.lucene.util
Methods in org.apache.lucene.util that return ScalarQuantizer Modifier and Type Method Description static ScalarQuantizerScalarQuantizer. fromVectors(FloatVectorValues floatVectorValues, float confidenceInterval)SeefromVectors(FloatVectorValues, float, int)for details on how the quantiles are calculated.static ScalarQuantizerScalarQuantizer. fromVectors(FloatVectorValues floatVectorValues, float confidenceInterval, int totalVectorCount)This will read the float vector values and calculate the quantiles.Methods in org.apache.lucene.util with parameters of type ScalarQuantizer Modifier and Type Method Description floatScalarQuantizer. recalculateCorrectiveOffset(byte[] quantizedVector, ScalarQuantizer oldQuantizer, VectorSimilarityFunction similarityFunction)Recalculate the old score corrective value given new current quantiles
-