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

David Smiley commented on LUCENE-9352:
--------------------------------------

Is this about the cost of the score() call alone, as apposed to say DISI?  I 
suggest that a cost method here be named something like scoreCost() to help 
differentiate this cost from others.

> Add cost function to Scorable
> -----------------------------
>
>                 Key: LUCENE-9352
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9352
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Mayya Sharipova
>            Priority: Minor
>
> {{Scorable.cost() function could be useful in optimizations.}}
> For example, the ability for collectors to skip non-competitive documents 
> introduced in LUCENE-9280 is based on the cost of the corresponding Scorable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to