Class ES93GenericFlatVectorScorer

java.lang.Object
org.elasticsearch.index.codec.vectors.es93.ES93GenericFlatVectorScorer
All Implemented Interfaces:
org.apache.lucene.codecs.hnsw.FlatVectorsScorer

public class ES93GenericFlatVectorScorer extends Object implements org.apache.lucene.codecs.hnsw.FlatVectorsScorer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • 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
  • Field Details

  • Constructor Details

    • ES93GenericFlatVectorScorer

      public ES93GenericFlatVectorScorer()
  • 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