You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2009/12/07 12:13:18 UTC

[jira] Resolved: (LUCENENET-318) TestDisjunctionMaxQuery.TestBooleanOptionalWithTiebreaker failure

     [ https://issues.apache.org/jira/browse/LUCENENET-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy resolved LUCENENET-318.
----------------------------

    Resolution: Fixed

Patches applied.
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, QueryUtils.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.