JaverSphinxBundle
JaverSphinxBundle copied to clipboard
Bug - Floats cast as Strings cause Sphinx Error
In Sphinx::quoteValue() - passed in float values will end up getting quoted as strings. Sphinx will then throw an error complaining about the type mismatch between a string and a float column.
Following up on this - it looks like Sphinx gets picky about the float type not accepting ints for comparison when upgrading from version Sphinx 2.2.11-id64-release to 2.3.1-beta. So this is a bug people are gonna hit when the beta is released.
Relevant builds: https://launchpad.net/~builds/+archive/ubuntu/sphinxsearch-daily https://launchpad.net/~builds/+archive/ubuntu/sphinxsearch-beta
I'm testing a fix in my LDE now, when it's ready I'll do a PR and add tests for it.