[ 
https://issues.apache.org/jira/browse/LUCENENET-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523840
 ] 

Digy commented on LUCENENET-95:
-------------------------------

Hi George,
After applying the Trythis.patch to Hits.cs, the console output of the NUnit is 
as follows:

0 --> 1,4212140000*0,7036240000=1,0000000000
1 --> 1,4212140000*0,7036240000=0,9999999000
2 --> 1,4141430000*0,7036240000=0,9950249000
3 --> 0,3570711000*0,7036240000=0,2512438000

I see no reason to get 0,9999999000 in the second line

DIGY

> Nunite test for 
> Search.TestDisjunctionMaxQuery.TestBooleanOptionalWithTiebreaker
> --------------------------------------------------------------------------------
>
>                 Key: LUCENENET-95
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-95
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Priority: Trivial
>         Attachments: TryThis.patch
>
>
> Changing the line in TestDisjunctionMaxQuery.cs
> from
>    public const float SCORE_COMP_THRESH = 0.0000f;
> to
>    public const float SCORE_COMP_THRESH = 0.00001f;
> solves the problem but i am not sure if an exact match is needed or not.

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