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

Michael Garski updated LUCENENET-288:
-------------------------------------

    Attachment: CustomScoreQuery_explain.patch

Attaching one more patch to tag along with this issue.

When reviewing the Java source I found a call being made twice to DoExplain 
when only one would suffice.  I brought it up on the Java mailing list and as 
it was such a minor change Mark Miller was going to pop it in w/o a JIRA issue.

Patch attached for inclusion with this issue.

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

Reply via email to