Class DefaultFlatVectorScorer.ByteVectorScorer

java.lang.Object
org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
org.apache.lucene.codecs.hnsw.DefaultFlatVectorScorer.ByteVectorScorer
All Implemented Interfaces:
RandomVectorScorer
Enclosing class:
DefaultFlatVectorScorer

private static class DefaultFlatVectorScorer.ByteVectorScorer extends RandomVectorScorer.AbstractRandomVectorScorer
A RandomVectorScorer for byte vectors.
  • Field Details

  • Constructor Details

  • Method Details

    • score

      public float score(int node) throws IOException
      Description copied from interface: RandomVectorScorer
      Returns the score between the query and the provided node.
      Parameters:
      node - a random node in the graph
      Returns:
      the computed score
      Throws:
      IOException