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

Robert Muir commented on LUCENE-3487:
-------------------------------------

i looked this over, this is because its comparing two different queries (one 
with minShouldMatch, other without), so there are some
minor floating point differences because BS2 uses different scorers.

this is fine, its going to be consistent with itself, so we just need to fix 
the test to use a relative epsilon (like the queryutil check).

                
> TestBooleanMinShouldMatch test failure
> --------------------------------------
>
>                 Key: LUCENE-3487
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3487
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>
> ant test -Dtestcase=TestBooleanMinShouldMatch -Dtestmethod=testRandomQueries 
> -Dtests.seed=505d62a62e9f90d0:-60daa428161b404b:-406411290a98f416
> I think its an absolute/relative epsilon issue

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