Class ES818BinaryFlatVectorsScorer

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

public class ES818BinaryFlatVectorsScorer extends Object implements org.apache.lucene.codecs.hnsw.FlatVectorsScorer
Vector scorer over binarized vector values
  • Constructor Details

    • ES818BinaryFlatVectorsScorer

      public ES818BinaryFlatVectorsScorer(org.apache.lucene.codecs.hnsw.FlatVectorsScorer nonQuantizedDelegate)
  • 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