lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-309) TestSort.TestTypedSort fails (2)
Date Wed, 25 Nov 2009 03:46:39 GMT

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

George Aroush commented on LUCENENET-309:
-----------------------------------------

Commit away.  Thanks DIGY!

Btw, this needs documentation since unlike with Lucene Java, one must be careful with picking
byte data type with Lucene.Net.  For the index to be cross compatible sbyte must be used in
Lucene.Net.


> TestSort.TestTypedSort fails (2)
> --------------------------------
>
>                 Key: LUCENENET-309
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-309
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-309.patch, LUCENENET-309.patch, LUCENENET-309.patch
>
>
> LUCENENET-307 was a fix for "double", this is for "byte".
> Since Java's byte ranges from -128 to 127 we have to use "sbyte" instead of "byte".
> (see the  negative values in the "byte" column of "data" in TestSort.cs)
> Changing the definition "byte ParseByte(System.String string_Renamed)" to "sbyte ParseByte(System.String
string_Renamed)" in FieldCache,as a chain reaction, resulted in a big patch.
> 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