Index

A B C D E F G H I L M N O Q S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

additionalCorrections - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
additionalCorrections - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 
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.ES91Int4VectorsScorer
Computes the score by applying the necessary corrections to the provided quantized distance.
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.

B

B_QUERY - Static variable in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
The number of bits in bit-quantized query vectors
BULK_SIZE - Static variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
BULK_SIZE - Static variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 
BULK_SIZE - Static variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
 

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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
calculateOSQLoss(float[], float, float, float, float, float, float, int[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
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
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
COSINE - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
 

D

dimensions - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
dimensions - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 
dimensions - Variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
 
DOT_PRODUCT - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
 

E

ES91Int4VectorsScorer - Class in org.elasticsearch.simdvec
Scorer for quantized vectors stored as an IndexInput.
ES91Int4VectorsScorer(IndexInput, int) - Constructor for class org.elasticsearch.simdvec.ES91Int4VectorsScorer
Sole constructor, called by sub-classes.
ES91OSQVectorsScorer - Class in org.elasticsearch.simdvec
Scorer for quantized vectors stored as an IndexInput.
ES91OSQVectorsScorer(IndexInput, 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) - Constructor for class org.elasticsearch.simdvec.ES92Int7VectorsScorer
Sole constructor, called by sub-classes.
ESVectorizationProvider - Class in org.elasticsearch.simdvec.internal.vectorization
 
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
 

F

FOUR_BIT_SCALE - Static variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
FOUR_BIT_SCALE - Static variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 

G

getES91Int4VectorsScorer(IndexInput, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
 
getES91OSQVectorsScorer(IndexInput, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
 
getES92Int7VectorsScorer(IndexInput, int) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
 
getInstance() - Static method in class org.elasticsearch.simdvec.internal.vectorization.ESVectorizationProvider
 
getInt7SQVectorScorer(VectorSimilarityFunction, QuantizedByteVectorValues, 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, QuantizedByteVectorValues, 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.
getVectorUtilSupport() - Method in class org.elasticsearch.simdvec.internal.vectorization.ESVectorizationProvider
 

H

hasNativeAccess() - Method in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
Checks if the current implementation supports fast native access.

I

in - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
The wrapper IndexInput.
in - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
The wrapper IndexInput.
in - Variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
The wrapper IndexInput.
instance() - Static method in interface org.elasticsearch.simdvec.VectorScorerFactory
 
int4DotProduct(byte[]) - Method in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
compute the quantize distance between the provided quantized query and the quantized vector that is read from the wrapped IndexInput.
int4DotProductBulk(byte[], int, float[]) - Method in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
compute the quantize distance between the provided quantized query and the quantized vectors that are read from the wrapped IndexInput.
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.
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.
ipByteBinByte(byte[], byte[]) - Static method in class org.elasticsearch.simdvec.ESVectorUtil
 
ipByteBinByte(byte[], byte[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
Compute dot product between q and d
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 

L

length - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 
lowerIntervals - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
lowerIntervals - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 

M

MAXIMUM_INNER_PRODUCT - Enum constant in enum class org.elasticsearch.simdvec.VectorSimilarityType
 

N

newES91Int4VectorsScorer(IndexInput, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.ESVectorizationProvider
Create a new ES91Int4VectorsScorer for the given IndexInput.
newES91OSQVectorsScorer(IndexInput, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.ESVectorizationProvider
Create a new ES91OSQVectorsScorer for the given IndexInput.
newES92Int7VectorsScorer(IndexInput, int) - Method in class org.elasticsearch.simdvec.internal.vectorization.ESVectorizationProvider
Create a new ES92Int7VectorsScorer for the given IndexInput.

O

of(VectorSimilarityFunction) - Static method in enum class org.elasticsearch.simdvec.VectorSimilarityType
Converts from the given vector similarity type to this similarity type.
of(VectorSimilarityType) - Static method in enum class org.elasticsearch.simdvec.VectorSimilarityType
Converts from this vector similarity type to VectorSimilarityFunction.
org.elasticsearch.simdvec - module org.elasticsearch.simdvec
 
org.elasticsearch.simdvec - package org.elasticsearch.simdvec
 
org.elasticsearch.simdvec.internal.vectorization - package org.elasticsearch.simdvec.internal.vectorization
 

Q

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.
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.
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 

S

score(byte[], float, float, int, float, VectorSimilarityFunction, float) - Method in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
Computes the score by applying the necessary corrections to the provided quantized distance.
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(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.
scoreBulk(byte[], float, float, int, float, VectorSimilarityFunction, float, float[]) - Method in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
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.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.ES92Int7VectorsScorer
compute the distance between the provided quantized query and the quantized vectors that are read from the wrapped IndexInput.
scratch - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
SEVEN_BIT_SCALE - Static variable in class org.elasticsearch.simdvec.ES92Int7VectorsScorer
 
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
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 interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
squareDistanceBulk(float[], float[], float[], float[], float[], 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[], float[], float[], float[], float[], float[]) - Method in interface org.elasticsearch.simdvec.internal.vectorization.ESVectorUtilSupport
 
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.

T

targetComponentSums - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
targetComponentSums - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 

U

upperIntervals - Variable in class org.elasticsearch.simdvec.ES91Int4VectorsScorer
 
upperIntervals - Variable in class org.elasticsearch.simdvec.ES91OSQVectorsScorer
 

V

valueOf(String) - Static method in enum class org.elasticsearch.simdvec.VectorSimilarityType
Returns the enum constant of this class with the specified name.
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.
VectorScorerFactory - Interface in org.elasticsearch.simdvec
A factory of quantized vector scorers.
VectorSimilarityType - Enum Class in org.elasticsearch.simdvec
Vector similarity type.
A B C D E F G H I L M N O Q S T U V 
All Classes and Interfaces|All Packages|Constant Field Values