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

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

It is: basically the reason TestBoolean2.testRandomQueries fails is not the 
comparison with BS1, but instead the fact the score differs from the 
explanation.

However, see the latest patch, its way more thorough because it means we 
sometimes use a coord() like this across a host of tests.
So with the latest patch's tests, if you revert the fix, many tests fail such 
as TestPhraseQuery.testPhraseQueryInConjunctionScorer, TestFilteredQuery, etc.

But the first test is good for 3.6, since we don't have this Similarity 
randomization there.
                
> 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.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