[ 
https://issues.apache.org/jira/browse/LUCENE-8791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844029#comment-16844029
 ] 

Adrien Grand commented on LUCENE-8791:
--------------------------------------

bq. Yes, We run CPU intensive ML models to rescore hits, it always runs with an 
executor.

I understand how ML models can be costly to build, but running them against a 
small set of hits should perform reasonably fast?

bq. using LeafReaderContext.ord directly as positional parameter might be risky 
since LeafReaderContext has a constructor where it sets the ord to 0

This constructor is pkg-private and only used for single-segment reader 
contexts, such as the ones that you get from LeafReader#getContext. Reader 
context ords should be reliable.

> Add CollectorRescorer
> ---------------------
>
>                 Key: LUCENE-8791
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8791
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Elbek Kamoliddinov
>            Priority: Major
>         Attachments: LUCENE-8791.patch, LUCENE-8791.patch, LUCENE-8791.patch
>
>
> This is another implementation of query rescorer api (LUCENE-5489). It adds 
> rescoring functionality based on provided CollectorManager. 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to