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