anamikabir / solr-php-client

solr-php-client
Other
0 stars 0 forks source link

XML construction needs to be locale aware for float values #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Use a locale (system) or through setlocale() that uses a decimal separator 
that isn't a '.'

What is the expected output? What do you see instead?

Float fields and document / field boosts should be formatted with a '.' since 
this is what solr expects. Instead, floats are output with the locale's decimal 
separator.

Original issue reported on code.google.com by donovan....@gmail.com on 25 May 2011 at 6:48