[ 
https://issues.apache.org/jira/browse/LUCENENET-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785203#action_12785203
 ] 

Digy commented on LUCENENET-318:
--------------------------------

It doesn't fail in my test env.  but a patch can be safer.  It think, this is 
the difference between the debug & release modes.
See the issue:
http://issues.apache.org/jira/browse/LUCENENET-95
DIGY

> TestDisjunctionMaxQuery.TestBooleanOptionalWithTiebreaker failure
> -----------------------------------------------------------------
>
>                 Key: LUCENENET-318
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-318
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Michael Garski
>            Priority: Trivial
>         Attachments: LUCENENET-318.patch
>
>
> The failure is due to a floating point arithmetic difference.  Altering the 
> value of the constant SCORE_COMP_THRESH to only 7 significant digits (the 
> accuracy of float in .NET) allows the test to pass.
> Interestingly, the test passes for me as-is when run in debugging mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to