lucenenet-dev mailing list archives

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


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

> TestSort.TestTypedSort fails (2)
> --------------------------------
>                 Key: LUCENENET-309
>                 URL:
>             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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message