# Uses of Package
org.apache.lucene.util.quantization

Packages that use org.apache.lucene.util.quantization
Package
Description
org.apache.lucene.codecs.hnsw
HNSW vector helper classes.
org.apache.lucene.codecs.lucene102
Lucene 10.2 file format.
org.apache.lucene.codecs.lucene99
Lucene 9.9 file format.
org.apache.lucene.util.quantization
Provides quantization methods for scaling vector values to smaller data types and possibly fewer dimensions

- Classes in org.apache.lucene.util.quantization used by org.apache.lucene.codecs.hnsw
  Class
  Description
  QuantizedByteVectorValues
  A version of `ByteVectorValues`, but additionally retrieving score correction offset for Scalar quantization scores.
  ScalarQuantizer
  Will scalar quantize float vectors into `int8` byte values.
- Classes in org.apache.lucene.util.quantization used by org.apache.lucene.codecs.lucene102
  Class
  Description
  OptimizedScalarQuantizer
  This is a scalar quantizer that optimizes the quantization intervals for a given vector.
  OptimizedScalarQuantizer.QuantizationResult
  Quantization result containing the lower and upper interval bounds, the additional correction
- Classes in org.apache.lucene.util.quantization used by org.apache.lucene.codecs.lucene99
  Class
  Description
  QuantizedByteVectorValues
  A version of `ByteVectorValues`, but additionally retrieving score correction offset for Scalar quantization scores.
  QuantizedVectorsReader
  Quantized vector reader
  ScalarQuantizer
  Will scalar quantize float vectors into `int8` byte values.
- Classes in org.apache.lucene.util.quantization used by org.apache.lucene.util.quantization
  Class
  Description
  OptimizedScalarQuantizer.QuantizationResult
  Quantization result containing the lower and upper interval bounds, the additional correction
  QuantizedByteVectorValues
  A version of `ByteVectorValues`, but additionally retrieving score correction offset for Scalar quantization scores.
  ScalarQuantizedVectorSimilarity
  Calculates and adjust the scores correctly for quantized vectors given the scalar quantization parameters
  ScalarQuantizedVectorSimilarity.ByteVectorComparator
  Compares two byte vectors
  ScalarQuantizer
  Will scalar quantize float vectors into `int8` byte values.