vigyasharma commented on PR #14729:
URL: https://github.com/apache/lucene/pull/14729#issuecomment-2968102601

   > The advantage of a `Rescorer` is that is is explicitly only run over the 
hits in a `TopDocs` instance, whereas `FunctionScoreQuery` will run over the 
entire docid space if you let it.
   
   Makes sense. I was thinking of only the knn vector queries that return top-N 
matches only, but reranking can apply more generally to any query. 
   
   I've raised #14776 to add support for `DoubleValuesSource` based rescorers. 
Once that is merged, I'll modify this PR to use `DoubleValuesSourceRescorer` 
instead of a `FunctionScoreQuery`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to