Class ExpressionRescorer


class ExpressionRescorer extends SortRescorer
A Rescorer that uses an expression to re-score first pass hits. Functionally this is the same as SortRescorer (if you build the Sort using Expression.getSortField(org.apache.lucene.expressions.Bindings, boolean)), except for the explain method which gives more detail by showing the value of each variable.