[
https://issues.apache.org/jira/browse/LUCENENET-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
George Aroush reassigned LUCENENET-24:
--------------------------------------
Assignee: George Aroush
> test failed when using with different decimal character in regional settings
> ----------------------------------------------------------------------------
>
> Key: LUCENENET-24
> URL: https://issues.apache.org/jira/browse/LUCENENET-24
> Project: Lucene.Net
> Issue Type: Bug
> Environment: n/a
> Reporter: Marco Dissel
> Assigned To: George Aroush
>
> Hello
> I've runned the tests on my Windows XP version, using the dutch regional
> settings.
> Many test are failing due to incorrect parsing of single/floats, especially
> inside the QueryParser.Parse(..)
> For example:
> Lucene.Net.QueryParser.TestQueryParser.TestSimple : Query /germ term^2.0/
> yielded /germ term^20,0/, expecting /germ term^2.0/
> 2.0 is converted to 20 by Single.Parse with the ducth culture (in the
> Netherlands the , is the default decimal character)..
> I don't know how the floatValue method in java will handle this..
> Thanks
> Marco
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.