java.lang.Object
org.elasticsearch.simdvec.ES91Int4VectorsScorer
Scorer for quantized vectors stored as an
IndexInput.
Similar to VectorUtil.int4DotProduct(byte[], byte[]) but
one value is read directly from an IndexInput.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final org.apache.lucene.store.IndexInputThe wrapperIndexInput.protected byte[] -
Constructor Summary
ConstructorsConstructorDescriptionES91Int4VectorsScorer(org.apache.lucene.store.IndexInput in, int dimensions) Sole constructor, called by sub-classes. -
Method Summary
-
Field Details
-
in
protected final org.apache.lucene.store.IndexInput inThe wrapperIndexInput. -
dimensions
protected final int dimensions -
scratch
protected byte[] scratch
-
-
Constructor Details
-
ES91Int4VectorsScorer
public ES91Int4VectorsScorer(org.apache.lucene.store.IndexInput in, int dimensions) Sole constructor, called by sub-classes.
-
-
Method Details
-
int4DotProduct
- Throws:
IOException
-