You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "George Aroush (JIRA)" <ji...@apache.org> on 2009/11/20 05:04:39 UTC
[jira] Resolved: (LUCENENET-288) Function.TestCustomScoreQuery
[ https://issues.apache.org/jira/browse/LUCENENET-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Aroush resolved LUCENENET-288.
-------------------------------------
Resolution: Fixed
Good work Mike! Patch applied. Issues like this is where one begins to appreciate code consistency between Java and .NET Lucene.
> Function.TestCustomScoreQuery
> -----------------------------
>
> Key: LUCENENET-288
> URL: https://issues.apache.org/jira/browse/LUCENENET-288
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Michael Garski
> Attachments: CustomScoreQuery_explain.patch, ExplanationComparison.txt, LUCENENET-288.patch
>
>
> Three of the tests in TestCustomScoreQuery are not passing due to the comparison between the explanation score and the hit score do not fall within the tolerance of +-0.00005f. Altering the tolerance to 0.0005f causes all of the tests to pass, so there appears to be a subtle issue in how the scores are being calculated.
> A similar test exists in 2.4 that passes with the tolerance of 0.00005f, which to me rules out floating point calculation differences.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.