[ https://issues.apache.org/jira/browse/LUCENENET-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Digy resolved LUCENENET-364. ---------------------------- Assignee: Digy Resolution: Fixed We have made similar changes previously. {quote} CheckHits Java: EXPLAIN_SCORE_TOLERANCE_DELTA = 0.00005f; .NET: EXPLAIN_SCORE_TOLERANCE_DELTA = 0.00025f; // {{See: LUCENENET-288}} Intentional diversion from Java Lucene per above comment {quote} So, I think It's acceptable. I changed TestSort.cs DIGY > Workaround for a Mono float/Single parsing issue > ------------------------------------------------ > > Key: LUCENENET-364 > URL: https://issues.apache.org/jira/browse/LUCENENET-364 > Project: Lucene.Net > Issue Type: Improvement > Environment: Mono 2.6.x > Reporter: Robert Jordan > Assignee: Digy > Attachments: TestSort.diff > > > Mono is not able to parse values greater or equal to Single.MaxValues > correctly, e.g.: > Single.Parse(Single.MaxValue.ToString()) throws an OverflowException. > Since Test/Search/TestSort.cs is using such a value, all of its tests are > failing. > I'm aware that this issue must be fixed in Mono (it's a known issue), but > since TestSort is not about testing foat's accuracy, I'm attaching a patch > the lets the tests pass on Mono. Please take it into consideration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.