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 ScalarQuantizer
Lucene99HnswVectorsReader. getQuantizationState(String field)
ScalarQuantizer
Lucene99ScalarQuantizedVectorsReader. 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 ScalarQuantizer
ScalarQuantizer. fromVectors(FloatVectorValues floatVectorValues, float confidenceInterval)
SeefromVectors(FloatVectorValues, float, int)
for details on how the quantiles are calculated.static ScalarQuantizer
ScalarQuantizer. 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 float
ScalarQuantizer. recalculateCorrectiveOffset(byte[] quantizedVector, ScalarQuantizer oldQuantizer, VectorSimilarityFunction similarityFunction)
Recalculate the old score corrective value given new current quantiles
-