[ https://issues.apache.org/jira/browse/LUCENE-9352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116236#comment-17116236 ]
Adrien Grand commented on LUCENE-9352: -------------------------------------- It would be the same cost as DocIdSetIterator#cost. > 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