[ https://issues.apache.org/jira/browse/LUCENENET-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Digy updated LUCENENET-318: --------------------------- Attachment: QueryUtils.patch Same problem. TestCustomScoreQuery fails (only in release mode). Patch coming. > 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.