Interface RandomVectorScorerSupplier

    • Method Detail

      • scorer

        RandomVectorScorer scorer​(int ord)
                           throws java.io.IOException
        This creates a RandomVectorScorer for scoring random nodes in batches against the given ordinal.
        Parameters:
        ord - the ordinal of the node to compare
        Returns:
        a new RandomVectorScorer
        Throws:
        java.io.IOException
      • copy

        RandomVectorScorerSupplier copy()
                                 throws java.io.IOException
        Make a copy of the supplier, which will copy the underlying vectorValues so the copy is safe to be used in other threads.
        Throws:
        java.io.IOException