lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-63) FieldCacheImpl tries to parse a float in f format.
Date Tue, 21 Aug 2007 02:23:30 GMT

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

Jeff commented on LUCENENET-63:
-------------------------------

This fixes unit tests in Search/TestSort/:

TestAutoSort
TestMultiSort
TestParallelMultiSort
TestReverseSort
TestSortCombos
TestTypesSort

My guess is that maybe it has always been a problem and the unit tests never existed to see
the problem was there.. or maybe something else has change internally.. but System.Single.Parse(string)
doesn't parse a string that ends in an 'f'. If that trailing 'f' is removed it is able to
convert the string to a single (float) without any trouble.

Regards,
Jeff

> FieldCacheImpl tries to parse a float in f format. 
> ---------------------------------------------------
>
>                 Key: LUCENENET-63
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-63
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Jeff
>            Priority: Minor
>         Attachments: FieldCacheImpl.patch
>
>
> C# doesn't support F format for parsing floats. 

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