lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <>
Subject [jira] Resolved: (LUCENENET-288) Function.TestCustomScoreQuery
Date Fri, 20 Nov 2009 04:04:39 GMT


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:
>             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.

View raw message