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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Vector scorer over binarized vector values
  • Constructor Summary

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

    • 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