lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Garski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-288) Function.TestCustomScoreQuery
Date Thu, 19 Nov 2009 03:00:40 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779810#action_12779810
] 

Michael Garski commented on LUCENENET-288:
------------------------------------------

Getting closer...

The issue is caused somewhere in the QueryUtils.WrapReader & WrapSearcher methods - if
they are modified so that the 'dummy' indexes that are empty are never created and the Wrap*
methods return immediately just wrapping the arguments and returning them then everything
is good.

So no issue in the codebase, just in the conditions used to set up the test.

> Function.TestCustomScoreQuery
> -----------------------------
>
>                 Key: LUCENENET-288
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-288
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Michael Garski
>
> 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.


Mime
View raw message