Class ESDefaultFlatVectorScorer

java.lang.Object
org.elasticsearch.simdvec.internal.ESDefaultFlatVectorScorer
All Implemented Interfaces:
org.apache.lucene.codecs.hnsw.FlatVectorsScorer

public final class ESDefaultFlatVectorScorer extends Object implements org.apache.lucene.codecs.hnsw.FlatVectorsScorer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.util.hnsw.RandomVectorScorer
    getRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, byte[] target)
     
    org.apache.lucene.util.hnsw.RandomVectorScorer
    getRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, float[] target)
     
    org.apache.lucene.util.hnsw.RandomVectorScorerSupplier
    getRandomVectorScorerSupplier(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ESDefaultFlatVectorScorer

      public ESDefaultFlatVectorScorer()
  • Method Details

    • getRandomVectorScorerSupplier

      public org.apache.lucene.util.hnsw.RandomVectorScorerSupplier getRandomVectorScorerSupplier(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues) throws IOException
      Specified by:
      getRandomVectorScorerSupplier in interface org.apache.lucene.codecs.hnsw.FlatVectorsScorer
      Throws:
      IOException
    • getRandomVectorScorer

      public org.apache.lucene.util.hnsw.RandomVectorScorer getRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, float[] target) throws IOException
      Specified by:
      getRandomVectorScorer in interface org.apache.lucene.codecs.hnsw.FlatVectorsScorer
      Throws:
      IOException
    • getRandomVectorScorer

      public org.apache.lucene.util.hnsw.RandomVectorScorer getRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, byte[] target) throws IOException
      Specified by:
      getRandomVectorScorer in interface org.apache.lucene.codecs.hnsw.FlatVectorsScorer
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object