Class ES91Int4VectorsScorer

java.lang.Object
org.elasticsearch.simdvec.ES91Int4VectorsScorer

public class ES91Int4VectorsScorer extends Object
Scorer for quantized vectors stored as an IndexInput.

Similar to VectorUtil.int4DotProduct(byte[], byte[]) but one value is read directly from an IndexInput.

  • Field Details

    • in

      protected final org.apache.lucene.store.IndexInput in
      The wrapper IndexInput.
    • 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