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

Robert Muir commented on LUCENE-4297:
-------------------------------------

Simple patch: remove the coord multiplication in ConjunctionScorer completely.
the counting one is then correct, and the non-counting "dual" one is fine too, 
because its used in more complex situations (e.g. minShouldMatch) where its 
subscorers are counting scorers.

tests pass.
                
> BooleanScorer2 sometimes multiplies coord() twice into the score
> ----------------------------------------------------------------
>
>                 Key: LUCENE-4297
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4297
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4297.patch, LUCENE-4297_test.patch
>
>
> this is a problem if you have a custom coord impl

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to