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

ASF subversion and git services commented on LUCENE-10110:
----------------------------------------------------------

Commit ccf0d5404d6d9618f7323182157f458c01d9f31a in lucene's branch 
refs/heads/main from Jim Ferenczi
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=ccf0d54 ]

LUCENE-10110: MultiCollector should conditionally wrap single leaf collector 
(#303)

MultiCollector should wrap single leaf collector that wants to skip low-scoring 
hits
 but the combined score mode doesn't allow it.

> MultiCollector should conditionally wrap single leaf collector
> --------------------------------------------------------------
>
>                 Key: LUCENE-10110
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10110
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Jim Ferenczi
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> MultiCollector adapts the score mode of multiple collectors so that they can 
> run together in a search. If a collector wants to skip low-scoring hits, this 
> adapter ensures that the other collectors still see all hits. Although, when 
> all these collectors have early terminated, we allow the skipping collector 
> to start propagating the minimum score. This is not valid because the weight 
> of the query is built from the combined score mode of all collectors at the 
> beginning of the search.
> So we should always ignore the minimum score in MultiCollector if the 
> combined score mode is different than TOP_SCORES.



--
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