Interface UpdateableRandomVectorScorer

All Superinterfaces:
RandomVectorScorer
All Known Implementing Classes:
UpdateableRandomVectorScorer.AbstractUpdateableRandomVectorScorer

public interface UpdateableRandomVectorScorer extends RandomVectorScorer
Just like a RandomVectorScorer but allows the scoring ordinal to be changed. Useful during indexing operations
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Method Details

    • setScoringOrdinal

      void setScoringOrdinal(int node) throws IOException
      Changes the scoring ordinal to the given node. If the same scorer object is being used continually, this can be used to avoid creating a new scorer for each node.
      Parameters:
      node - the node to score against
      Throws:
      IOException - if an exception occurs initializing the scorer for the given node