Class ExpressionRescorer

    • Constructor Detail

      • ExpressionRescorer

        public ExpressionRescorer​(Expression expression,
                                  Bindings bindings)
        Uses the provided Expression to assign second pass scores.
    • Method Detail

      • explain

        public Explanation explain​(IndexSearcher searcher,
                                   Explanation firstPassExplanation,
                                   int docID)
                            throws java.io.IOException
        Description copied from class: Rescorer
        Explains how the score for the specified document was computed.
        Overrides:
        explain in class SortRescorer
        Throws:
        java.io.IOException