Uses of Enum Class
org.apache.lucene.util.quantization.QuantizedByteVectorValues.ScalarEncoding
Packages that use QuantizedByteVectorValues.ScalarEncoding
Package
Description
Lucene 10.4 file format.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Uses of QuantizedByteVectorValues.ScalarEncoding in org.apache.lucene.codecs.lucene104
Methods in org.apache.lucene.codecs.lucene104 that return QuantizedByteVectorValues.ScalarEncodingConstructors in org.apache.lucene.codecs.lucene104 with parameters of type QuantizedByteVectorValues.ScalarEncodingModifierConstructorDescriptionLucene104HnswScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding, int maxConn, int beamWidth) Constructs a format using the given graph construction parameters.Lucene104HnswScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding, int maxConn, int beamWidth, int numMergeWorkers, ExecutorService mergeExec) Constructs a format using the given graph construction parameters and scalar quantization.Lucene104HnswScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding, int maxConn, int beamWidth, int numMergeWorkers, ExecutorService mergeExec, int tinySegmentsThreshold) Constructs a format using the given graph construction parameters and scalar quantization.Creates a new instance with the chosen quantization encoding.Lucene104ScalarQuantizedVectorsWriter(SegmentWriteState state, QuantizedByteVectorValues.ScalarEncoding encoding, FlatVectorsWriter rawVectorDelegate, Lucene104ScalarQuantizedVectorScorer vectorsScorer) Sole constructor -
Uses of QuantizedByteVectorValues.ScalarEncoding in org.apache.lucene.util.quantization
Methods in org.apache.lucene.util.quantization that return QuantizedByteVectorValues.ScalarEncodingModifier and TypeMethodDescriptionQuantizedByteVectorValues.ScalarEncoding.fromNumBits(int bits) QuantizedByteVectorValues.getScalarEncoding()Returns the enum constant of this class with the specified name.QuantizedByteVectorValues.ScalarEncoding.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.util.quantization that return types with arguments of type QuantizedByteVectorValues.ScalarEncodingModifier and TypeMethodDescriptionQuantizedByteVectorValues.ScalarEncoding.fromWireNumber(int wireNumber) Returns the encoding for the given wire number, or empty if unknown.