Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- additionalCorrection() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns the value of the
additionalCorrectionrecord component. - additionalCorrections - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- additionalCorrections - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- AddressesScratch - Class in org.elasticsearch.simdvec.internal
-
Reusable, lazily-grown scratch buffer for an array of native addresses (pointer-width values), used to hand a contiguous
MemorySegmentofMemorySegment#address()-style values (array of pointers). - AddressesScratch() - Constructor for class org.elasticsearch.simdvec.internal.AddressesScratch
- andBitCount(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
AND bit count computed over signed bytes.
- applyCorrections(float, float, int, float, VectorSimilarityFunction, float, float, float, int, float, float) - Method in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
Computes the score by applying the necessary corrections to the provided quantized distance.
- applyCorrections(float, MemorySegment, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- applyCorrections(float, MemorySegment, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.DotProductSupplier
- applyCorrections(float, MemorySegment, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.EuclideanSupplier
- applyCorrections(float, MemorySegment, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.MaxInnerProductSupplier
- applyCorrections(int, VectorSimilarityFunction, float, float, float, float, float, int, float, float, float, int) - Static method in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- applyCorrectionsBulk(MemorySegment, MemorySegment, int, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- applyCorrectionsBulk(MemorySegment, MemorySegment, int, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.DotProductSupplier
- applyCorrectionsBulk(MemorySegment, MemorySegment, int, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.EuclideanSupplier
- applyCorrectionsBulk(MemorySegment, MemorySegment, int, Int7uOSQVectorScorerSupplier.QueryContext) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.MaxInnerProductSupplier
- applyCorrectionsIndividually(float, float, int, float, VectorSimilarityFunction, float, float, float, int, float, float) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
Computes the final score by applying the necessary corrections to the provided quantized distance.
B
- B_QUERY - Static variable in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
The number of bits in bit-quantized query vectors
- BBQ_CORRECTIONS_BYTES - Static variable in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- BFloat16Support - Class in org.elasticsearch.simdvec
-
Basic BFloat16 conversions
- BFloat16Support() - Constructor for class org.elasticsearch.simdvec.BFloat16Support
- bFloat16ToFloat(byte[], int, float[], int, int, ByteOrder) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- bFloat16ToFloat(byte[], int, float[], int, int, ByteOrder) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- bFloat16ToFloat(byte[], int, float[], int, int, ByteOrder) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Converts bfloat16s to floats
- bFloat16ToFloat(byte[], int, float[], int, int, ByteOrder) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- bFloat16ToFloat(short) - Static method in class org.elasticsearch.simdvec.BFloat16Support
- BFloat16VectorScorer - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorer.DotProductScorer - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorer.EuclideanScorer - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorer.MaxInnerProductScorer - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorerSupplier - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorerSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier
- BFloat16VectorScorerSupplier.DotProductSupplier - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorerSupplier.EuclideanSupplier - Class in org.elasticsearch.simdvec.internal
- BFloat16VectorScorerSupplier.MaxInnerProductSupplier - Class in org.elasticsearch.simdvec.internal
- BIT_SCALES - Static variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- bitEncoding() - Method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- BULK_SIZE - Static variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.DotProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.EuclideanScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.MaxInnerProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorer.DotProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorer.EuclideanScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorer.MaxInnerProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int4VectorScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.DotProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.EuclideanScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.MaxInnerProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.CosineScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.DotProductScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.EuclideanScorer
- bulkScore(int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.MaxInnerProductScorer
- bulkScoreFromOrds(Int7uOSQVectorScorerSupplier.QueryContext, int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, float, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, float, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.DotProductSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, float, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.EuclideanSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, float, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.MaxInnerProductSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.DotProductSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.EuclideanSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.MaxInnerProductSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.DotProductSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.EuclideanSupplier
- bulkScoreFromSegment(MemorySegment, MemorySegment, MemorySegment, int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.MaxInnerProductSupplier
- bulkSize - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- bulkSize - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- byteSize - Variable in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
C
- calculateOSQGridPoints(float[], int[], int, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Calculate the grid points for optimized-scalar quantization
- calculateOSQGridPoints(float[], int[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- calculateOSQGridPoints(float[], int[], int, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- calculateOSQGridPoints(float[], int[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- calculateOSQLoss(float[], float, float, float, float, float, float, int[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- calculateOSQLoss(float[], float, float, float, float, float, float, int[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- calculateOSQLoss(float[], float, float, float, float, float, float, int[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- calculateOSQLoss(float[], float, float, int, float, float, int[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Calculate the loss for optimized-scalar quantization for the given parameteres
- canUseSegmentSlices(IndexInput) - Static method in class org.elasticsearch.simdvec.internal.IndexInputUtils
-
Returns
trueifMemorySegmentslices can be obtained from the specifiedIndexInput. - centerAndCalculateOSQStatsDp(byte[], byte[], float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Center the byte target vector against a byte centroid and calculate the optimized-scalar quantization statistics for dot-product similarity.
- centerAndCalculateOSQStatsDp(byte[], byte[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- centerAndCalculateOSQStatsDp(byte[], byte[], float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- centerAndCalculateOSQStatsDp(byte[], byte[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- centerAndCalculateOSQStatsDp(float[], float[], float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Center the target vector and calculate the optimized-scalar quantization statistics
- centerAndCalculateOSQStatsDp(float[], float[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- centerAndCalculateOSQStatsDp(float[], float[], float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- centerAndCalculateOSQStatsDp(float[], float[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- centerAndCalculateOSQStatsEuclidean(byte[], byte[], float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Center the byte target vector against a byte centroid and calculate the optimized-scalar quantization statistics for euclidean similarity.
- centerAndCalculateOSQStatsEuclidean(byte[], byte[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- centerAndCalculateOSQStatsEuclidean(byte[], byte[], float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- centerAndCalculateOSQStatsEuclidean(byte[], byte[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- centerAndCalculateOSQStatsEuclidean(float[], float[], float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Center the target vector and calculate the optimized-scalar quantization statistics
- centerAndCalculateOSQStatsEuclidean(float[], float[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- centerAndCalculateOSQStatsEuclidean(float[], float[], float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- centerAndCalculateOSQStatsEuclidean(float[], float[], float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- checkInputType(IndexInput) - Static method in class org.elasticsearch.simdvec.internal.IndexInputUtils
-
Checks that a
FilterIndexInputwrapper also implementsMemorySegmentAccessInputorDirectAccessInput, so that zero-copy access is preserved through the wrapper chain. - checkOrdinal(int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier
- checkOrdinal(int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier
- checkOrdinal(int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier
- checkOrdinal(int) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- checkOrdinal(int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier
- codePointCount(BytesRef) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Count the number of Unicode code points in a utf-8 encoded string.
- codePointCount(BytesRef) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- codePointCount(BytesRef) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- codePointCount(BytesRef) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- contains(byte[], int, int, byte[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Checks whether the byte sequence
termappears as a contiguous subsequence withinvalue. - contains(byte[], int, int, byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- contains(byte[], int, int, byte[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- contains(byte[], int, int, byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- copy() - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.DotProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.EuclideanSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.MaxInnerProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.DotProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.EuclideanSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.MaxInnerProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int4VectorScorerSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.DotProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.EuclideanSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.MaxInnerProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.DotProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.EuclideanSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.MaxInnerProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.CosineSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.DotProductSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.EuclideanSupplier
- copy() - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.MaxInnerProductSupplier
- cosine(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- cosine(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- cosine(byte[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Calculates the cosine of the given byte arrays.
- cosine(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- cosine(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- COSINE - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
- cosineBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of cosine similarity from a byte query vector to four byte candidate vectors.
- cosineBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- cosineBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- cosineBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- cosineI8(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- CosineScorer(IndexInput, ByteVectorValues, byte[]) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorer.CosineScorer
- CosineSupplier(IndexInput, ByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.CosineSupplier
- create(VectorSimilarityFunction, ByteVectorValues, byte[]) - Static method in class org.elasticsearch.simdvec.internal.Int8VectorScorer
- create(VectorSimilarityFunction, FloatVectorValues, float[]) - Static method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer
- create(VectorSimilarityFunction, FloatVectorValues, float[]) - Static method in class org.elasticsearch.simdvec.internal.Float32VectorScorer
- create(VectorSimilarityFunction, LegacyQuantizedByteVectorValues, float[]) - Static method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer
-
Return an optional whose value, if present, is the scorer.
- create(VectorSimilarityFunction, QuantizedByteVectorValues, byte[], float, float, float, int) - Static method in class org.elasticsearch.simdvec.internal.Int4VectorScorer
-
Creates an int4 query-time scorer if the input supports efficient access.
- create(VectorSimilarityFunction, QuantizedByteVectorValues, byte[], float, float, float, int) - Static method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorer
- createQueryContext(int) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
D
- D1Q1 - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- D1Q4 - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- D2Q4_PACKED - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- D2Q4_STRIPED - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- D4Q4_PACKED - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- D4Q4_STRIPED - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- D7Q7 - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- DefaultES93BinaryQuantizedVectorScorer - Class in org.elasticsearch.simdvec.internal.vectorization
- DefaultES93BinaryQuantizedVectorScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.internal.vectorization.DefaultES93BinaryQuantizedVectorScorer
- DefaultESVectorUtilSupport - Class in org.elasticsearch.simdvec.internal.vectorization
- DefaultESVectorUtilSupport() - Constructor for class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dimensions - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- dimensions - Variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
- dimensions - Variable in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- dimensions - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- dims - Variable in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- DOT_PRODUCT - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
- dotProduct(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- dotProduct(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dotProduct(byte[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Calculates the dot product of the given byte arrays.
- dotProduct(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- dotProduct(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- dotProduct(byte[], byte[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Dot product of the first
lengthcomponents ofaandb. - dotProduct(byte[], byte[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Dot product over
[offset, offset + length). - dotProduct(byte[], byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dotProduct(byte[], byte[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Calculates the dot product over
[offset, offset + length). - dotProduct(byte[], byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- dotProduct(byte[], byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- dotProduct(float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- dotProduct(float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dotProduct(float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Calculates the dot product of the given float arrays.
- dotProduct(float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- dotProduct(float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- dotProduct(float[], float[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Dot product of the first
lengthcomponents ofaandb. - dotProduct(float[], float[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Dot product over
[offset, offset + length). - dotProduct(float[], float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dotProduct(float[], float[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Calculates the dot product over
[offset, offset + length). - dotProduct(float[], float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- dotProduct(float[], float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- dotProductBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of dot product from a byte query vector to four byte candidate vectors.
- dotProductBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dotProductBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- dotProductBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- dotProductBulk(float[], float[], float[], float[], float[], int, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of square distances between a query vector and four vectors.Result is stored in the provided distances array.
- dotProductBulk(float[], float[], float[], float[], float[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- dotProductBulk(float[], float[], float[], float[], float[], int, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- dotProductBulk(float[], float[], float[], float[], float[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- dotProductD1Q1(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD1Q1Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD1Q1BulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD1Q4(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD1Q4Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD1Q4BulkSparse(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD1Q4BulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4BulkSparse(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4BulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4Packed(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4PackedBulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD2Q4PackedBulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD4Q4(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD4Q4Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD4Q4BulkSparse(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductD4Q4BulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductDBF16QBF16(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductDBF16QF32(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductDBF16QF32Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductF32(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductF32Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI4(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI4Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI4BulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI7u(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI7uBulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI7uBulkWithOffsets(MemorySegment, MemorySegment, int, int, MemorySegment, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI8(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- dotProductI8Bulk(MemorySegment, MemorySegment, int, int, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- DotProductScorer(IndexInput, ByteVectorValues, byte[]) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorer.DotProductScorer
- DotProductScorer(IndexInput, FloatVectorValues, float[]) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.DotProductScorer
- DotProductScorer(IndexInput, FloatVectorValues, float[]) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorer.DotProductScorer
- DotProductScorer(IndexInput, LegacyQuantizedByteVectorValues, byte[], float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.DotProductScorer
- DotProductScorer(IndexInput, QuantizedByteVectorValues, byte[], float, float, float, int) - Constructor for class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorer.DotProductScorer
- DotProductSupplier(IndexInput, ByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.DotProductSupplier
- DotProductSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.DotProductSupplier
- DotProductSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.DotProductSupplier
- DotProductSupplier(IndexInput, LegacyQuantizedByteVectorValues, float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.DotProductSupplier
- DotProductSupplier(IndexInput, QuantizedByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.DotProductSupplier
- Dot products with bit quantization - Search tag in org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport.ipByteBinByteImpl(byte[], byte[])
- Section
E
- ENABLE_INTEGER_VECTORS - Static variable in class org.elasticsearch.simdvec.internal.vectorization.PanamaVectorConstants
-
Whether integer vectors can be trusted to actually be fast.
- encoding - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- equals(Object) - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Indicates whether some other object is "equal to" this one.
- ES91OSQVectorsScorer - Class in org.elasticsearch.simdvec
-
Scorer for quantized vectors stored as an
IndexInput. - ES91OSQVectorsScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.ES91OSQVectorsScorer
-
Sole constructor, called by sub-classes.
- ES92Int7VectorsScorer - Class in org.elasticsearch.simdvec
-
Scorer for 7 bit quantized vectors stored in a
IndexInput. - ES92Int7VectorsScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
Sole constructor, called by sub-classes.
- ES93BinaryQuantizedVectorScorer - Class in org.elasticsearch.simdvec
- ES93BinaryQuantizedVectorScorer(int, int) - Constructor for class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- ES940OSQVectorsScorer - Class in org.elasticsearch.simdvec
-
Scorer for quantized vectors stored as an
IndexInput. - ES940OSQVectorsScorer(IndexInput, byte, byte, int, int) - Constructor for class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- ES940OSQVectorsScorer(IndexInput, byte, byte, int, int, int) - Constructor for class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- ES940OSQVectorsScorer(IndexInput, byte, byte, int, int, int, ES940OSQVectorsScorer.BitEncoding) - Constructor for class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- ES940OSQVectorsScorer(IndexInput, ES940OSQVectorsScorer.QuantEncoding, int, int, int) - Constructor for class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- ES940OSQVectorsScorer.BitEncoding - Enum Class in org.elasticsearch.simdvec
- ES940OSQVectorsScorer.QuantEncoding - Enum Class in org.elasticsearch.simdvec
- ESDefaultFlatVectorScorer - Class in org.elasticsearch.simdvec.internal
- ESDefaultFlatVectorScorer() - Constructor for class org.elasticsearch.simdvec.internal.ESDefaultFlatVectorScorer
- ESVectorizationProvider - Class in org.elasticsearch.simdvec
- ESVectorUtil - Class in org.elasticsearch.simdvec
- ESVectorUtil() - Constructor for class org.elasticsearch.simdvec.ESVectorUtil
- ESVectorUtilSupport - Interface in org.elasticsearch.simdvec.internal.vectorization
- EUCLIDEAN - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
- EuclideanScorer(IndexInput, ByteVectorValues, byte[]) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorer.EuclideanScorer
- EuclideanScorer(IndexInput, FloatVectorValues, float[]) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.EuclideanScorer
- EuclideanScorer(IndexInput, FloatVectorValues, float[]) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorer.EuclideanScorer
- EuclideanScorer(IndexInput, LegacyQuantizedByteVectorValues, byte[], float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.EuclideanScorer
- EuclideanScorer(IndexInput, QuantizedByteVectorValues, byte[], float, float, float, int) - Constructor for class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorer.EuclideanScorer
- EuclideanSupplier(IndexInput, ByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.EuclideanSupplier
- EuclideanSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.EuclideanSupplier
- EuclideanSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.EuclideanSupplier
- EuclideanSupplier(IndexInput, LegacyQuantizedByteVectorValues, float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.EuclideanSupplier
- EuclideanSupplier(IndexInput, QuantizedByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.EuclideanSupplier
- EXPONENT_BIAS - Static variable in class org.elasticsearch.simdvec.MathUtils
- EXPONENT_BIAS_MINUS_ONE - Static variable in class org.elasticsearch.simdvec.MathUtils
- EXPONENT_MASK - Static variable in class org.elasticsearch.simdvec.MathUtils
F
- Float32VectorScorer - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorer.DotProductScorer - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorer.EuclideanScorer - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorer.MaxInnerProductScorer - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorerSupplier - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorerSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier
- Float32VectorScorerSupplier.DotProductSupplier - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorerSupplier.EuclideanSupplier - Class in org.elasticsearch.simdvec.internal
- Float32VectorScorerSupplier.MaxInnerProductSupplier - Class in org.elasticsearch.simdvec.internal
- floatToBFloat16(float) - Static method in class org.elasticsearch.simdvec.BFloat16Support
- floatToBFloat16(float[], int, byte[], int, int, ByteOrder) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- floatToBFloat16(float[], int, byte[], int, int, ByteOrder) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- floatToBFloat16(float[], int, byte[], int, int, ByteOrder) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Converts floats to bfloat16s
- floatToBFloat16(float[], int, byte[], int, int, ByteOrder) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- FOUR_BIT_SCALE - Static variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- FOUR_BIT_SCALE - Static variable in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- function() - Method in enum class org.elasticsearch.simdvec.VectorSimilarityType
G
- get() - Method in class org.elasticsearch.simdvec.internal.Int4VectorScorerSupplier
- get() - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier
- get() - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- get() - Method in interface org.elasticsearch.simdvec.MemorySegmentAccessInputAccess
-
Returns the underlying
MemorySegmentAccessInput, ornullif not available. - get() - Method in interface org.elasticsearch.simdvec.QuantizedByteVectorValuesAccess
- get(int) - Method in class org.elasticsearch.simdvec.internal.AddressesScratch
-
Returns a
MemorySegmentof at leastcountnative-address slots. - get(int) - Method in class org.elasticsearch.simdvec.internal.OffsetsScratch
-
Returns a
long[]of at leastcountslots. - getBFloat16VectorScorer(VectorSimilarityFunction, FloatVectorValues, float[]) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing a bfloat16 vector scorer for the given parameters, or an empty optional if a scorer is not supported.
- getBFloat16VectorScorerSupplier(VectorSimilarityType, IndexInput, FloatVectorValues) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing a bfloat16 vector score supplier for the given parameters, or an empty optional if a scorer is not supported.
- getES91OSQVectorsScorer(IndexInput, int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- getES92Int7VectorsScorer(IndexInput, int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- getES93BinaryQuantizedVectorScorer(IndexInput, int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- getES940OSQVectorsScorer(IndexInput, byte, byte, int, int, int, ES940OSQVectorsScorer.BitEncoding) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- getFloat32VectorScorer(VectorSimilarityFunction, FloatVectorValues, float[]) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing a float vector scorer for the given parameters, or an empty optional if a scorer is not supported.
- getFloat32VectorScorerSupplier(VectorSimilarityType, IndexInput, FloatVectorValues) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing a float vector score supplier for the given parameters, or an empty optional if a scorer is not supported.
- getInstance() - Static method in class org.elasticsearch.simdvec.ESVectorizationProvider
- getInt4VectorScorer(VectorSimilarityFunction, QuantizedByteVectorValues, byte[], float, float, float, int) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing an int4 packed-nibble query-time vector scorer for the given parameters, or an empty optional if a scorer is not supported.
- getInt4VectorScorerSupplier(VectorSimilarityType, IndexInput, QuantizedByteVectorValues) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing an int4 packed-nibble vector score supplier for the given parameters, or an empty optional if a scorer is not supported.
- getInt7SQVectorScorer(VectorSimilarityFunction, LegacyQuantizedByteVectorValues, float[]) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing an int7 scalar quantized vector scorer for the given parameters, or an empty optional if a scorer is not supported.
- getInt7SQVectorScorerSupplier(VectorSimilarityType, IndexInput, LegacyQuantizedByteVectorValues, float) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing an int7 scalar quantized vector score supplier for the given parameters, or an empty optional if a scorer is not supported.
- getInt7uOSQVectorScorer(VectorSimilarityFunction, QuantizedByteVectorValues, byte[], float, float, float, int) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing an int7 optimal scalar quantized vector scorer for the given parameters, or an empty optional if a scorer is not supported.
- getInt7uOSQVectorScorerSupplier(VectorSimilarityType, IndexInput, QuantizedByteVectorValues) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing an int7 optimal scalar quantized vector score supplier for the given parameters, or an empty optional if a scorer is not supported.
- getInt8VectorScorer(VectorSimilarityFunction, ByteVectorValues, byte[]) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing a byte vector scorer for the given parameters, or an empty optional if a scorer is not supported.
- getInt8VectorScorerSupplier(VectorSimilarityType, IndexInput, ByteVectorValues) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Returns an optional containing a byte vector score supplier for the given parameters, or an empty optional if a scorer is not supported.
- getRandomVectorScorer(VectorSimilarityFunction, KnnVectorValues, byte[]) - Method in class org.elasticsearch.simdvec.internal.ESDefaultFlatVectorScorer
- getRandomVectorScorer(VectorSimilarityFunction, KnnVectorValues, byte[]) - Method in class org.elasticsearch.simdvec.internal.PanamaFlatVectorScorer
- getRandomVectorScorer(VectorSimilarityFunction, KnnVectorValues, float[]) - Method in class org.elasticsearch.simdvec.internal.ESDefaultFlatVectorScorer
- getRandomVectorScorer(VectorSimilarityFunction, KnnVectorValues, float[]) - Method in class org.elasticsearch.simdvec.internal.PanamaFlatVectorScorer
- getRandomVectorScorerSupplier(VectorSimilarityFunction, KnnVectorValues) - Method in class org.elasticsearch.simdvec.internal.ESDefaultFlatVectorScorer
- getRandomVectorScorerSupplier(VectorSimilarityFunction, KnnVectorValues) - Method in class org.elasticsearch.simdvec.internal.PanamaFlatVectorScorer
- getScratch(int) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92PanamaInt7VectorsScorer
- getScratch(int) - Method in class org.elasticsearch.simdvec.internal.vectorization.NativeBinaryQuantizedVectorScorer
- getVectorScorerFactory() - Method in class org.elasticsearch.simdvec.ESVectorizationProvider
- getVectorUtilSupport() - Method in class org.elasticsearch.simdvec.ESVectorizationProvider
H
- hashCode() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns a hash code value for this object.
I
- in - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
-
The wrapper
IndexInput. - in - Variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
The wrapper
IndexInput. - in - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
The wrapper
IndexInput. - indexBits() - Method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- IndexInputUtils - Class in org.elasticsearch.simdvec.internal
-
Utility for obtaining a
MemorySegmentview of data in anIndexInputand passing it to a caller-supplied action. - indexOf(byte[], int, int, byte) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Searches for the first occurrence of the given marker byte in the specified range of the array.
- indexOf(byte[], int, int, byte) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- indexOf(byte[], int, int, byte) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- indexOf(byte[], int, int, byte) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- input - Variable in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- inRangeBitmask(long[], long, long, long[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
For every index
iin[0, values.length), sets bitiinmatches(matches[i>>>6], bit positioni & 0x3f) whenvalues[i]lies in[lowerValue, upperValue]. - inRangeBitmask(long[], long, long, long[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- inRangeBitmask(long[], long, long, long[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- inRangeBitmask(long[], long, long, long[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- Int4VectorScorer - Class in org.elasticsearch.simdvec.internal
-
Int4 packed-nibble query-time scorer.
- Int4VectorScorerSupplier - Class in org.elasticsearch.simdvec.internal
-
Int4 packed-nibble scorer supplier.
- Int4VectorScorerSupplier(IndexInput, QuantizedByteVectorValues, VectorSimilarityType) - Constructor for class org.elasticsearch.simdvec.internal.Int4VectorScorerSupplier
- int7DotProduct(byte[]) - Method in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
compute the quantize distance between the provided quantized query and the quantized vector that is read from the wrapped
IndexInput. - int7DotProduct(byte[]) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92NativeInt7VectorsScorer
- int7DotProduct(byte[]) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92PanamaInt7VectorsScorer
- int7DotProductBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
compute the quantize distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - int7DotProductBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92NativeInt7VectorsScorer
- int7DotProductBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92PanamaInt7VectorsScorer
- Int7SQVectorScorer - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorer.DotProductScorer - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorer.EuclideanScorer - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorer.MaxInnerProductScorer - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorerSupplier - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorerSupplier(IndexInput, LegacyQuantizedByteVectorValues, float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier
- Int7SQVectorScorerSupplier.DotProductSupplier - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorerSupplier.EuclideanSupplier - Class in org.elasticsearch.simdvec.internal
- Int7SQVectorScorerSupplier.MaxInnerProductSupplier - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorer - Class in org.elasticsearch.simdvec.internal
-
JDK-22+ implementation for Int7 OSQ query-time scorers.
- Int7uOSQVectorScorer.DotProductScorer - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorer.EuclideanScorer - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorer.MaxInnerProductScorer - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorerSupplier - Class in org.elasticsearch.simdvec.internal
-
Int7 OSQ scorer supplier backed by
MemorySegmentAccessInputstorage. - Int7uOSQVectorScorerSupplier.DotProductSupplier - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorerSupplier.EuclideanSupplier - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorerSupplier.MaxInnerProductSupplier - Class in org.elasticsearch.simdvec.internal
- Int7uOSQVectorScorerSupplier.QueryContext - Record Class in org.elasticsearch.simdvec.internal
- Int8VectorScorer - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorer.CosineScorer - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorer.DotProductScorer - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorer.EuclideanScorer - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorer.MaxInnerProductScorer - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorerSupplier - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorerSupplier(IndexInput, ByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier
- Int8VectorScorerSupplier.CosineSupplier - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorerSupplier.DotProductSupplier - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorerSupplier.EuclideanSupplier - Class in org.elasticsearch.simdvec.internal
- Int8VectorScorerSupplier.MaxInnerProductSupplier - Class in org.elasticsearch.simdvec.internal
- ipByteBinByte(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- ipByteBinByte(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipByteBinByte(byte[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Compute dot product between
qandd - ipByteBinByte(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- ipByteBinByteImpl(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
-
Returns the inner product (aka dot product) between the query vector
q, and the data vectord. - ipByteBit(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Compute the inner product of two vectors, where the query vector is a byte vector and the document vector is a bit vector.
- ipByteBit(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipByteBit(byte[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- ipByteBit(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- ipByteBitImpl(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipByteBitImpl(byte[], byte[], int) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipFloatBit(float[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Compute the inner product of two vectors, where the query vector is a float vector and the document vector is a bit vector.
- ipFloatBit(float[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipFloatBit(float[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- ipFloatBit(float[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- ipFloatBitImpl(float[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipFloatByte(float[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Compute the inner product of two vectors, where the query vector is a float vector and the document vector is a byte vector.
- ipFloatByte(float[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- ipFloatByte(float[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- ipFloatByte(float[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- ipFloatByteImpl(float[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
J
- JdkFeatures - Class in org.elasticsearch.simdvec.internal.vectorization
-
JDK feature-level constants that do not depend on incubator modules.
L
- l2Normalize(byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
L2-normalizes all components of
vin place. - l2Normalize(byte[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
L2-normalizes the prefix
v[0..length)in place using signed byte values as real components. - l2Normalize(byte[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
L2-normalizes
v[offset:offset + length)in place using signed byte values as real components. - l2Normalize(byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- l2Normalize(byte[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
L2-normalizes
v[offset:offset + length)in place using signed byte values as real components. - l2Normalize(byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- l2Normalize(float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
L2-normalizes all components of
vin place. - l2Normalize(float[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
L2-normalizes the prefix
v[0..length)in place. - l2Normalize(float[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
L2-normalizes
v[offset:offset + length)in place. - l2Normalize(float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- l2Normalize(float[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
L2-normalizes
v[offset:offset + length)in place. - l2Normalize(float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- length - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- length - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- linearCombination(float, byte[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes dest = scale * other + dest, widening byte src to float.
- linearCombination(float, byte[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- linearCombination(float, byte[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- linearCombination(float, byte[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- linearCombination(float, byte[], float, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes dest[d] = scaleSrc * src[d] + scaleDest * dest[d], widening byte src to float.
- linearCombination(float, byte[], float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- linearCombination(float, byte[], float, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- linearCombination(float, byte[], float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- linearCombination(float, float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes dest = scale * other + dest
- linearCombination(float, float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- linearCombination(float, float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- linearCombination(float, float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- linearCombination(float, float[], float, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes dest = scale * other + scaledDes * dest
- linearCombination(float, float[], float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- linearCombination(float, float[], float, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- linearCombination(float, float[], float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- log2NQT(float) - Static method in class org.elasticsearch.simdvec.MathUtils
-
Computes log2(x) using the NQT approximation.
- logger - Static variable in class org.elasticsearch.simdvec.ESVectorizationProvider
- logSumExpNQT(float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Calculates an approximation of the LogSumExp of the input array in base 2.
- logSumExpNQT(float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- logSumExpNQT(float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- logSumExpNQT(float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- logSumExpNQTDiff(float[], float[], float) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Calculates a shifted and scaled LogSumExp of the input arrays in base 2, according to the formula: log2(sum_i(pow(2, (v1[i] - v2[i]) / eps))) This implementation uses the log-sum-exp trick for numerical stability and Not-Quite-Trascendental functions for speed.
- logSumExpNQTDiff(float[], float[], float) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- logSumExpNQTDiff(float[], float[], float) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- logSumExpNQTDiff(float[], float[], float) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- lookup(boolean, boolean) - Static method in class org.elasticsearch.simdvec.ESVectorizationProvider
- lowerInterval() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns the value of the
lowerIntervalrecord component. - lowerIntervals - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- lowerIntervals - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
M
- MANTISSA_BITS - Static variable in class org.elasticsearch.simdvec.MathUtils
- MANTISSA_MASK - Static variable in class org.elasticsearch.simdvec.MathUtils
- MathUtils - Class in org.elasticsearch.simdvec
- MathUtils() - Constructor for class org.elasticsearch.simdvec.MathUtils
- max(float[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- MAXIMUM_INNER_PRODUCT - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
- MaxInnerProductScorer(IndexInput, ByteVectorValues, byte[]) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorer.MaxInnerProductScorer
- MaxInnerProductScorer(IndexInput, FloatVectorValues, float[]) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.MaxInnerProductScorer
- MaxInnerProductScorer(IndexInput, FloatVectorValues, float[]) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorer.MaxInnerProductScorer
- MaxInnerProductScorer(IndexInput, LegacyQuantizedByteVectorValues, byte[], float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.MaxInnerProductScorer
- MaxInnerProductScorer(IndexInput, QuantizedByteVectorValues, byte[], float, float, float, int) - Constructor for class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorer.MaxInnerProductScorer
- MaxInnerProductSupplier(IndexInput, ByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier.MaxInnerProductSupplier
- MaxInnerProductSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier.MaxInnerProductSupplier
- MaxInnerProductSupplier(IndexInput, FloatVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier.MaxInnerProductSupplier
- MaxInnerProductSupplier(IndexInput, LegacyQuantizedByteVectorValues, float) - Constructor for class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.MaxInnerProductSupplier
- MaxInnerProductSupplier(IndexInput, QuantizedByteVectorValues) - Constructor for class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.MaxInnerProductSupplier
- maxOrd - Variable in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- maxSimDotProduct(MultiBFloat16VectorsSource, float[][], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes max-sim dot product for float query vectors against a bfloat16 multi-vector source.
- maxSimDotProduct(MultiBFloat16VectorsSource, float[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- maxSimDotProduct(MultiBFloat16VectorsSource, float[][], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- maxSimDotProduct(MultiBFloat16VectorsSource, float[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- maxSimDotProduct(MultiBFloat16VectorsSource, float[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- maxSimDotProduct(MultiByteVectorsSource, byte[][], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes max-sim dot product for byte query vectors against a multi-vector source.
- maxSimDotProduct(MultiByteVectorsSource, byte[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- maxSimDotProduct(MultiByteVectorsSource, byte[][], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- maxSimDotProduct(MultiByteVectorsSource, byte[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- maxSimDotProduct(MultiByteVectorsSource, byte[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- maxSimDotProduct(MultiFloatVectorsSource, float[][], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Computes max-sim dot product for float query vectors against a multi-vector source.
- maxSimDotProduct(MultiFloatVectorsSource, float[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- maxSimDotProduct(MultiFloatVectorsSource, float[][], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- maxSimDotProduct(MultiFloatVectorsSource, float[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- maxSimDotProduct(MultiFloatVectorsSource, float[][], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- MemorySegmentAccessInputAccess - Interface in org.elasticsearch.simdvec
- MemorySegmentES91OSQVectorsScorer - Class in org.elasticsearch.simdvec.internal.vectorization
-
Panamized scorer for quantized vectors stored as a
MemorySegment. - MemorySegmentES91OSQVectorsScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES91OSQVectorsScorer
- MemorySegmentES92NativeInt7VectorsScorer - Class in org.elasticsearch.simdvec.internal
-
Native / panamized scorer for 7-bit quantized vectors stored as an
IndexInput. - MemorySegmentES92NativeInt7VectorsScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.internal.MemorySegmentES92NativeInt7VectorsScorer
- MemorySegmentES92PanamaInt7VectorsScorer - Class in org.elasticsearch.simdvec.internal
-
Panamized scorer for 7-bit quantized vectors stored as an
IndexInput. - MemorySegmentES92PanamaInt7VectorsScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.internal.MemorySegmentES92PanamaInt7VectorsScorer
- MemorySegmentES940OSQVectorsScorer - Class in org.elasticsearch.simdvec.internal.vectorization
-
Panamized scorer for quantized vectors stored as a
MemorySegment. - MultiBFloat16VectorsSource - Interface in org.elasticsearch.simdvec
- MultiByteVectorsSource - Interface in org.elasticsearch.simdvec
- MultiFloatVectorsSource - Interface in org.elasticsearch.simdvec
- MultiVectorsSource<T> - Interface in org.elasticsearch.simdvec
-
Source for a single document's multi-vector values.
N
- Native22ESVectorUtilSupport - Class in org.elasticsearch.simdvec.internal.vectorization
- Native22ESVectorUtilSupport() - Constructor for class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- nativeApplyCorrectionsBulk(VectorSimilarityFunction, MemorySegment, int, int, float, float, int, float, float, float, float, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.vectorization.ScoreCorrections
- nativeBbqApplyCorrectionsBulk(VectorSimilarityFunction, MemorySegment, int, int, int, int, float, float, int, float, float, float, float, boolean, MemorySegment) - Static method in class org.elasticsearch.simdvec.internal.vectorization.ScoreCorrections
-
Apply corrections to a bulk of scores, reading per-vector correction trailers inline at
addresses[i] + vectorSizeInBytes(BBQ-style layout). - NativeBinaryQuantizedVectorScorer - Class in org.elasticsearch.simdvec.internal.vectorization
- NativeBinaryQuantizedVectorScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.internal.vectorization.NativeBinaryQuantizedVectorScorer
- newES91OSQVectorsScorer(IndexInput, int, int) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Create a new
ES91OSQVectorsScorerfor the givenIndexInput. - newES92Int7VectorsScorer(IndexInput, int, int) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Create a new
ES92Int7VectorsScorerfor the givenIndexInput. - newES93BinaryQuantizedVectorScorer(IndexInput, int, int) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
- newES940OSQVectorsScorer(IndexInput, byte, byte, int, int, int, ES940OSQVectorsScorer.BitEncoding) - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Create a new
ES940OSQVectorsScorerfor the givenIndexInputand explicit packed-vs-striped disk layout. - newFlatVectorsScorer() - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
Create a new
FlatVectorsScorerfor scoring arbitrary flat vectors. - numBytes - Variable in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
O
- of(byte, byte, ES940OSQVectorsScorer.BitEncoding) - Static method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- of(VectorSimilarityFunction) - Static method in enum class org.elasticsearch.simdvec.VectorSimilarityType
-
Converts from the given vector similarity type to this similarity type.
- OffsetsScratch - Class in org.elasticsearch.simdvec.internal
-
Reusable, lazily-grown
long[]scratch buffer. - OffsetsScratch() - Constructor for class org.elasticsearch.simdvec.internal.OffsetsScratch
- OnHeapES91OSQVectorsScorer - Class in org.elasticsearch.simdvec.internal.vectorization
-
Panamized scorer for quantized vectors stored as a
IndexInput. - OnHeapES91OSQVectorsScorer(IndexInput, int, int) - Constructor for class org.elasticsearch.simdvec.internal.vectorization.OnHeapES91OSQVectorsScorer
- ord() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns the value of the
ordrecord component. - org.elasticsearch.simdvec - module org.elasticsearch.simdvec
-
Contains Panama and native SIMD implementations of various vector operations.
- org.elasticsearch.simdvec - package org.elasticsearch.simdvec
- org.elasticsearch.simdvec.internal - package org.elasticsearch.simdvec.internal
- org.elasticsearch.simdvec.internal.vectorization - package org.elasticsearch.simdvec.internal.vectorization
P
- packAsBinary(int[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Packs the provided int array populated with "0" and "1" values into a byte array.
- packAsBinary(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- packAsBinary(int[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- packAsBinary(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- packAsBinaryImpl(int[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- packAsBytes(int[], byte[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Narrows each of the first
lenints to a byte by truncating to the low 8 bits, writing intodst[0..len). - packDibit(int[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- packDibit(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- packDibit(int[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- packDibit(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- packDibitImpl(int[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
-
Packs two bit vector (values 0-3) into a byte array with lower bits first.
- packDibitQuad(int[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- packDibitQuad(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- packDibitQuad(int[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- packDibitQuad(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- packDibitQuadImpl(int[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- PACKED - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.BitEncoding
- PanamaESVectorUtilSupport - Class in org.elasticsearch.simdvec.internal.vectorization
- PanamaESVectorUtilSupport() - Constructor for class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- PanamaFlatVectorScorer - Class in org.elasticsearch.simdvec.internal
-
A FlatVectorsScorer that uses SIMD code to compare arrays.
- PanamaFlatVectorScorer() - Constructor for class org.elasticsearch.simdvec.internal.PanamaFlatVectorScorer
- PanamaVectorConstants - Class in org.elasticsearch.simdvec.internal.vectorization
-
Shared constants for implementations that take advantage of the Panama Vector API.
- pow2DiffAndScaleNQT(float[], float[], float, float, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Compute the following operation: result[i] = pow(2, (a + v1[i] - v2[i]) / eps) This implementation uses the log-sum-exp trick for numerical stability.
- pow2DiffAndScaleNQT(float[], float[], float, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- pow2DiffAndScaleNQT(float[], float[], float, float, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- pow2DiffAndScaleNQT(float[], float[], float, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- pow2NQT(float) - Static method in class org.elasticsearch.simdvec.MathUtils
-
Computes pow(2, exponent) using the NQT approximation.
- PREFERRED_VECTOR_BITSIZE - Static variable in class org.elasticsearch.simdvec.internal.vectorization.PanamaVectorConstants
-
Preferred width in bits for vectors.
Q
- QuantizedByteVectorValuesAccess - Interface in org.elasticsearch.simdvec
- quantizedComponentSum() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns the value of the
quantizedComponentSumrecord component. - quantizeScore(byte[]) - Method in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
-
compute the quantize distance between the provided quantized query and the quantized vector that is read from the wrapped
IndexInput. - quantizeScore(byte[]) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
compute the quantize distance between the provided quantized query and the quantized vector that is read from the wrapped
IndexInput. - quantizeScore(byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES91OSQVectorsScorer
- quantizeScore(byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- quantizeScore(byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.OnHeapES91OSQVectorsScorer
- quantizeScoreBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
-
compute the quantize distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - quantizeScoreBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
Compute the quantize distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - quantizeScoreBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES91OSQVectorsScorer
- quantizeScoreBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- quantizeScoreBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.OnHeapES91OSQVectorsScorer
- quantizeScoreBulkOffsets(byte[], int[], int, float[], int) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
Compute the quantize distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - quantizeScoreBulkOffsets(byte[], int[], int, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- quantizeVectorWithIntervals(float[], int[], float, float, byte) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Optimized-scalar quantization of the provided vector to the provided destination array.
- quantizeVectorWithIntervals(float[], int[], float, float, byte) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- quantizeVectorWithIntervals(float[], int[], float, float, byte) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- quantizeVectorWithIntervals(float[], int[], float, float, byte) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- queryBits() - Method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
- QueryContext(int, float, float, float, int) - Constructor for record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Creates an instance of a
QueryContextrecord class.
S
- score(byte[], float, float, int, float, VectorSimilarityFunction, float) - Method in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
Computes the score by applying the necessary corrections to the provided quantized distance.
- score(byte[], float, float, int, float, VectorSimilarityFunction, float, int) - Method in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- score(byte[], float, float, int, float, VectorSimilarityFunction, float, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultES93BinaryQuantizedVectorScorer
- score(byte[], float, float, int, float, VectorSimilarityFunction, float, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.NativeBinaryQuantizedVectorScorer
- score(float, float, int, float, VectorSimilarityFunction, float, float, float, int, float, float) - Method in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
-
Computes the score by applying the necessary corrections to the provided quantized distance.
- score(int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.DotProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.EuclideanScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorer.MaxInnerProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorer.DotProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorer.EuclideanScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorer.MaxInnerProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int4VectorScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.DotProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.EuclideanScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorer.MaxInnerProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.CosineScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.DotProductScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.EuclideanScorer
- score(int) - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorer.MaxInnerProductScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[]) - Method in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
-
compute the distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[]) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
Bulk score overload; same as
ES940OSQVectorsScorer.scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[], int)withES940OSQVectorsScorer.bulkSizeas the defaultbulkSizeparam value. - scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES91OSQVectorsScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.OnHeapES91OSQVectorsScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[], int) - Method in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
-
compute the distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[], int) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
Compute the distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[], int) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92NativeInt7VectorsScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[], int) - Method in class org.elasticsearch.simdvec.internal.MemorySegmentES92PanamaInt7VectorsScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, int[], float[], int) - Method in class org.elasticsearch.simdvec.ES93BinaryQuantizedVectorScorer
- scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, int[], float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.NativeBinaryQuantizedVectorScorer
- scoreBulkOffsets(byte[], float, float, int, float, VectorSimilarityFunction, float, int[], int, float[], int) - Method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
-
Compute the distance between the provided quantized query and the quantized vectors that are read from the wrapped
IndexInput. - scoreBulkOffsets(byte[], float, float, int, float, VectorSimilarityFunction, float, int[], int, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- ScoreCorrections - Class in org.elasticsearch.simdvec.internal.vectorization
- ScoreCorrections() - Constructor for class org.elasticsearch.simdvec.internal.vectorization.ScoreCorrections
- scoreFromOrds(Int7uOSQVectorScorerSupplier.QueryContext, int) - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- scoreFromSegments(MemorySegment, float, MemorySegment, float) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.DotProductSupplier
- scoreFromSegments(MemorySegment, float, MemorySegment, float) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.EuclideanSupplier
- scoreFromSegments(MemorySegment, float, MemorySegment, float) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier.MaxInnerProductSupplier
- scoreFromSegments(MemorySegment, float, MemorySegment, float) - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier
- scorer() - Method in class org.elasticsearch.simdvec.internal.BFloat16VectorScorerSupplier
- scorer() - Method in class org.elasticsearch.simdvec.internal.Float32VectorScorerSupplier
- scorer() - Method in class org.elasticsearch.simdvec.internal.Int4VectorScorerSupplier
- scorer() - Method in class org.elasticsearch.simdvec.internal.Int7SQVectorScorerSupplier
- scorer() - Method in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- scorer() - Method in class org.elasticsearch.simdvec.internal.Int8VectorScorerSupplier
- SEVEN_BIT_SCALE - Static variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
- Similarities - Class in org.elasticsearch.simdvec.internal
- Similarities() - Constructor for class org.elasticsearch.simdvec.internal.Similarities
- slice - Variable in class org.elasticsearch.simdvec.internal.vectorization.DefaultES93BinaryQuantizedVectorScorer
- soarDistance(byte[], byte[], float[], float, float) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Compute the SOAR distance between a byte vector and a byte centroid.
- soarDistance(byte[], byte[], float[], float, float) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- soarDistance(byte[], byte[], float[], float, float) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- soarDistance(byte[], byte[], float[], float, float) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- soarDistance(float[], float[], float[], float, float) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
calculates the soar distance for a vector and a centroid
- soarDistance(float[], float[], float[], float, float) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- soarDistance(float[], float[], float[], float, float) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- soarDistance(float[], float[], float[], float, float) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- soarDistanceBulk(byte[], byte[], byte[], byte[], byte[], float[], float, float, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Calculates SOAR distances between a byte query vector and 4 byte centroid vectors in bulk.
- soarDistanceBulk(byte[], byte[], byte[], byte[], byte[], float[], float, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- soarDistanceBulk(byte[], byte[], byte[], byte[], byte[], float[], float, float, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- soarDistanceBulk(byte[], byte[], byte[], byte[], byte[], float[], float, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- soarDistanceBulk(float[], float[], float[], float[], float[], float[], float, float, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of the soar distance for a vector to four centroids
- soarDistanceBulk(float[], float[], float[], float[], float[], float[], float, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- soarDistanceBulk(float[], float[], float[], float[], float[], float[], float, float, float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- soarDistanceBulk(float[], float[], float[], float[], float[], float[], float, float, float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- sqrt(float) - Static method in class org.elasticsearch.simdvec.MathUtils
-
Computes the squared root of x.
- squareDistance(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- squareDistance(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- squareDistance(byte[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Returns the sum of squared differences of the two vectors.
- squareDistance(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- squareDistance(byte[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- squareDistance(byte[], byte[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Returns the sum of squared differences of the two byte vectors over a sub-range.
- squareDistance(byte[], byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- squareDistance(byte[], byte[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Returns the sum of squared differences of the two byte vectors over a sub-range.
- squareDistance(byte[], byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- squareDistance(byte[], byte[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- squareDistance(float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- squareDistance(float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- squareDistance(float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Returns the sum of squared differences of the two vectors.
- squareDistance(float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- squareDistance(float[], float[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- squareDistance(float[], float[], int, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- squareDistance(float[], float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- squareDistance(float[], float[], int, int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
-
Returns the sum of squared differences over
[offset, offset + length). - squareDistance(float[], float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.Native22ESVectorUtilSupport
- squareDistance(float[], float[], int, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- squareDistanceBulk(byte[], byte[], byte[], byte[], byte[], int, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of square distances from a byte query vector to four byte candidate vectors.
- squareDistanceBulk(byte[], int, byte[], byte[], byte[], byte[], int, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- squareDistanceBulk(byte[], int, byte[], byte[], byte[], byte[], int, float[], int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- squareDistanceBulk(byte[], int, byte[], byte[], byte[], byte[], int, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- squareDistanceBulk(byte[], int, int, byte[], byte[], byte[], byte[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of square distances from a sub-range of a byte query vector to four byte candidate vectors.
- squareDistanceBulk(float[], float[], float[], float[], float[], int, float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Bulk computation of square distances between a query vector and four vectors.Result is stored in the provided distances array.
- squareDistanceBulk(float[], int, float[], float[], float[], float[], int, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- squareDistanceBulk(float[], int, float[], float[], float[], float[], int, float[], int) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- squareDistanceBulk(float[], int, float[], float[], float[], float[], int, float[], int) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- squareDistanceBulk(float[], int, int, float[], float[], float[], float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- squareDistanceDBF16QBF16(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- squareDistanceDBF16QF32(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- squareDistanceF32(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- squareDistanceI8(MemorySegment, MemorySegment, int) - Static method in class org.elasticsearch.simdvec.internal.Similarities
- STRIPED - Enum constant in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.BitEncoding
- subtract(float[], float[], float[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
Calculates the difference between two vectors and stores the result in a third vector.
- sum(float[], int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
- SUPPORTS_HEAP_SEGMENTS - Static variable in class org.elasticsearch.simdvec.internal.vectorization.JdkFeatures
-
Whether the current JDK supports passing heap-backed MemorySegments to native downcalls.
- supportsQuantization(byte, byte) - Static method in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
T
- targetComponentSums - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- targetComponentSums - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- The algorithm - Search tag in org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport.ipByteBinByteImpl(byte[], byte[])
- Section
- toString() - Method in class org.elasticsearch.simdvec.internal.ESDefaultFlatVectorScorer
- toString() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.simdvec.internal.PanamaFlatVectorScorer
- transposeHalfByte(int[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
-
The idea here is to organize the query vector bits such that the first bit of every dimension is in the first set dimensions bits, or (dimensions/8) bytes.
- transposeHalfByte(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- transposeHalfByte(int[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
- transposeHalfByte(int[], byte[]) - Method in class org.elasticsearch.simdvec.internal.vectorization.PanamaESVectorUtilSupport
- transposeHalfByteImpl(int[], byte[]) - Static method in class org.elasticsearch.simdvec.internal.vectorization.DefaultESVectorUtilSupport
- truncateToBFloat16(float) - Static method in class org.elasticsearch.simdvec.BFloat16Support
U
- unwrap(IndexInput) - Static method in interface org.elasticsearch.simdvec.MemorySegmentAccessInputAccess
-
Unwraps to the underlying
MemorySegmentAccessInputif available, otherwise returns the input unchanged. - upperInterval() - Method in record class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier.QueryContext
-
Returns the value of the
upperIntervalrecord component. - upperIntervals - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
- upperIntervals - Variable in class org.elasticsearch.simdvec.ES940OSQVectorsScorer
- usesNative() - Method in interface org.elasticsearch.simdvec.VectorScorerFactory
-
trueif this factory uses native code anywhere. - usingNative(IndexInput, byte, byte, int, int, int, ES940OSQVectorsScorer.BitEncoding) - Static method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
- usingPanama(IndexInput, byte, byte, int, int, int, ES940OSQVectorsScorer.BitEncoding) - Static method in class org.elasticsearch.simdvec.internal.vectorization.MemorySegmentES940OSQVectorsScorer
V
- valueOf(String) - Static method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.BitEncoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.simdvec.VectorSimilarityType
-
Returns the enum constant of this class with the specified name.
- values - Variable in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- values() - Static method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.BitEncoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.simdvec.ES940OSQVectorsScorer.QuantEncoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.simdvec.VectorSimilarityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vectorBytes() - Method in interface org.elasticsearch.simdvec.MultiVectorsSource
-
Encoded vector bytes for all vectors in this source, or
nullif only iterator access is available. - vectorByteSize() - Method in interface org.elasticsearch.simdvec.MultiVectorsSource
-
Encoded byte size per vector.
- vectorCount() - Method in interface org.elasticsearch.simdvec.MultiVectorsSource
-
Number of vectors available in this source.
- vectorDims() - Method in interface org.elasticsearch.simdvec.MultiVectorsSource
-
Dimensions per vector in this source.
- vectorPitch - Variable in class org.elasticsearch.simdvec.internal.Int7uOSQVectorScorerSupplier
- VectorScorerFactory - Interface in org.elasticsearch.simdvec
- VectorSimilarityType - Enum Class in org.elasticsearch.simdvec
-
Vector similarity type.
- vectorValues() - Method in interface org.elasticsearch.simdvec.MultiVectorsSource
-
Iterator over decoded vectors for scalar scoring paths.
W
- withSlice(IndexInput, long, IntFunction<byte[]>, CheckedFunction<MemorySegment, R, IOException>) - Static method in class org.elasticsearch.simdvec.internal.IndexInputUtils
-
Obtains a memory segment for the next
lengthbytes of the index input, passes it toaction, and returns the result. - withSliceAddresses(IndexInput, long[], int, int, IntFunction<MemorySegment>, CheckedConsumer<MemorySegment, IOException>) - Static method in class org.elasticsearch.simdvec.internal.IndexInputUtils
-
Resolves
countfile ranges to native memory addresses and passes the address array to the action.
All Classes and Interfaces|All Packages|Constant Field Values