Interface VectorScorer


public interface VectorScorer
A scorer of vectors.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
    The per-vector dimension size.
    int
    The maximum ordinal of vector this scorer can score.
    float
    score(int firstOrd, int secondOrd)
    Computes the score of the vectors at the given ordinals.
  • Method Details

    • score

      float score(int firstOrd, int secondOrd) throws IOException
      Computes the score of the vectors at the given ordinals.
      Throws:
      IOException
    • dims

      int dims()
      The per-vector dimension size.
    • maxOrd

      int maxOrd()
      The maximum ordinal of vector this scorer can score.
    • copy

      VectorScorer copy()