[ 
https://issues.apache.org/jira/browse/LUCENE-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-5545:
---------------------------------------

    Attachment: LUCENE-5545.patch

Another iteration.

I factored out a SortRescorer, which lets you re-rank according to any Sort, 
and made ExpressionRescorer package private and only accessible via 
Expression.getRescorer.  It just subclasses SortRescorer and overrides explain 
to add the variable bindings for that doc ...

Still nocommits / iterations to do.

> Add ExpressionRescorer
> ----------------------
>
>                 Key: LUCENE-5545
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5545
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.8, 5.0
>
>         Attachments: LUCENE-5545.patch, LUCENE-5545.patch, LUCENE-5545.patch
>
>
> In LUCENE-5489 we added QueryRescorer, to rescore first-pass hits using 
> scores from a (usually) more expensive second-pass query.
> I think we should also add ExpressionRescorer, to compute the second pass 
> score using an arbitrary JS expression.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to