lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Iliev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-302) TestSort.TestInternationalMultiSearcherSort and TestInternationalSort fails
Date Mon, 23 Nov 2009 18:59:39 GMT

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

Andrei Iliev commented on LUCENENET-302:
----------------------------------------

I believe it is old problem. 

1) In 2.3.2 we have:
AssertMatches(full, queryY, sort, "BFJHD");     // NOTE: this is "BFJDH" in Java's version

2)George Aroush wrote on     Dec 13, 2006:
"After several hours of investigation, I narrowed the problem to what I believe is a difference
in the way Java and .NET implement compare... "
see discussion at http://markmail.org/message/l3lawirk5iafg563




> TestSort.TestInternationalMultiSearcherSort and TestInternationalSort fails
> ---------------------------------------------------------------------------
>
>                 Key: LUCENENET-302
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-302
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: 2.9.1
>            Reporter: Digy
>
> I will attach a patch to show the bug, it is not a real patch.
> The output of sort using "new System.Globalization.CultureInfo("en-US")" is  
> HAT HÅT HOT HØT HUT   (which corresponds to BFJHD) .
> but  the expected one is BFJDH which is  HAT HÅT HOT HUT HØT 
> Current output seems to be correct and I think there is a bug in the test where expected
value is wrong. But code is same in Java.
> (I compared the sort order in swedish and danish alphabets as well and they are correct).
> Any Idea?
> DIGY

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