pankajit / solr-php-client

Automatically exported from code.google.com/p/solr-php-client
Other
0 stars 1 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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