Module org.elasticsearch.simdvec
Class ESVectorizationProvider
java.lang.Object
org.elasticsearch.simdvec.internal.vectorization.ESVectorizationProvider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ESVectorizationProviderabstract ESVectorUtilSupportabstract ES91OSQVectorsScorernewES91OSQVectorsScorer(org.apache.lucene.store.IndexInput input, int dimension, int bulkSize) Create a newES91OSQVectorsScorerfor the givenIndexInput.abstract ES92Int7VectorsScorernewES92Int7VectorsScorer(org.apache.lucene.store.IndexInput input, int dimension, int bulkSize) Create a newES92Int7VectorsScorerfor the givenIndexInput.abstract ES93BinaryQuantizedVectorScorernewES93BinaryQuantizedVectorScorer(org.apache.lucene.store.IndexInput input, int dimension, int vectorLengthInBytes) abstract ES940OSQVectorsScorernewES940OSQVectorsScorer(org.apache.lucene.store.IndexInput input, byte queryBits, byte indexBits, int dimension, int dataLength, int bulkSize, ES940OSQVectorsScorer.SymmetricInt4Encoding int4Encoding) Create a newES940OSQVectorsScorerfor the givenIndexInputand explicit int4 disk format.
-
Field Details
-
logger
-
-
Method Details
-
getInstance
-
getVectorUtilSupport
-
newES91OSQVectorsScorer
public abstract ES91OSQVectorsScorer newES91OSQVectorsScorer(org.apache.lucene.store.IndexInput input, int dimension, int bulkSize) throws IOException Create a newES91OSQVectorsScorerfor the givenIndexInput.- Throws:
IOException
-
newES940OSQVectorsScorer
public abstract ES940OSQVectorsScorer newES940OSQVectorsScorer(org.apache.lucene.store.IndexInput input, byte queryBits, byte indexBits, int dimension, int dataLength, int bulkSize, ES940OSQVectorsScorer.SymmetricInt4Encoding int4Encoding) throws IOException Create a newES940OSQVectorsScorerfor the givenIndexInputand explicit int4 disk format. The input should be unwrapped before calling this method. If the input is still aFilterIndexInputthat does not implementMemorySegmentAccessInputorDirectAccessInput, anIllegalArgumentExceptionis thrown. Non-wrapper inputs (e.g.ByteBuffersIndexInput) are accepted and use a heap-copy fallback.- Throws:
IOException
-
newES92Int7VectorsScorer
public abstract ES92Int7VectorsScorer newES92Int7VectorsScorer(org.apache.lucene.store.IndexInput input, int dimension, int bulkSize) throws IOException Create a newES92Int7VectorsScorerfor the givenIndexInput. SeenewES940OSQVectorsScorer(org.apache.lucene.store.IndexInput, byte, byte, int, int, int, org.elasticsearch.simdvec.ES940OSQVectorsScorer.SymmetricInt4Encoding)for input type requirements.- Throws:
IOException
-
newES93BinaryQuantizedVectorScorer
public abstract ES93BinaryQuantizedVectorScorer newES93BinaryQuantizedVectorScorer(org.apache.lucene.store.IndexInput input, int dimension, int vectorLengthInBytes) throws IOException - Throws:
IOException
-