Class Int7SQVectorScorer

java.lang.Object
org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
org.elasticsearch.simdvec.internal.Int7SQVectorScorer
All Implemented Interfaces:
org.apache.lucene.util.hnsw.HasKnnVectorValues, org.apache.lucene.util.hnsw.RandomVectorScorer
Direct Known Subclasses:
Int7SQVectorScorer.DotProductScorer, Int7SQVectorScorer.EuclideanScorer, Int7SQVectorScorer.MaxInnerProductScorer

public abstract sealed class Int7SQVectorScorer extends org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer permits Int7SQVectorScorer.DotProductScorer, Int7SQVectorScorer.EuclideanScorer, Int7SQVectorScorer.MaxInnerProductScorer
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
    static final class 
     
    static final class 
     

    Nested classes/interfaces inherited from interface org.apache.lucene.util.hnsw.RandomVectorScorer

    org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
  • Method Summary

    Modifier and Type
    Method
    Description
    static Optional<org.apache.lucene.util.hnsw.RandomVectorScorer>
    create(org.apache.lucene.index.VectorSimilarityFunction sim, org.apache.lucene.util.quantization.QuantizedByteVectorValues values, float[] queryVector)
    Return an optional whose value, if present, is the scorer.

    Methods inherited from class org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer

    getAcceptOrds, maxOrd, ordToDoc, values

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.lucene.util.hnsw.RandomVectorScorer

    bulkScore, score
  • Method Details

    • create

      public static Optional<org.apache.lucene.util.hnsw.RandomVectorScorer> create(org.apache.lucene.index.VectorSimilarityFunction sim, org.apache.lucene.util.quantization.QuantizedByteVectorValues values, float[] queryVector)
      Return an optional whose value, if present, is the scorer. Otherwise, an empty optional is returned.