Hey everyone. We are seeing a strange issue with t...
# community-help
e
Hey everyone. We are seeing a strange issue with the react instantsearch integration. It appears to be rounding floats to either 2 or 3 decimal places. We can't seem to see where it's happening but it's effecting our facets. When we select a facet, it doesn't return a result because the number is now not the same as stored on the object. Any help is greatly appreciated. Many thanks
j
Hmmm, could you check the network requests in the browser dev console to see if the values are returned unrounded from Typesense?
k
I remember fixing an issue like this on 0.23 RC. Not able to find the exact GitHub issue.
e
@Jason Bosco - Just checked and yes, it's coming through the network request rounded. It also only seems to be numbers that are in facets. Other rounded numbers are not affected
j
Could you try this on
0.23.0.rc62
?
šŸ™Œ 1
e
We are cloud hosted... is this still possible to do?
j
Yup. Could you email your cluster ID to support@typesense.org and we can take care of the upgrade for you
e
Perfect. I just saw the schedule system so have set it for tonight. Thank you. Will let you know if we still experience issues tomorrow
šŸ‘ 1
j
Happy to expedite that now if you'd like, let me know
e
oooh, that would be great. Thank you
šŸ‘ 1
j
It's queued up now, should take another 10 - 15 minutes. I'll ping you when it's done.
@Edward Sparks You're all set. Could you try now?
e
@Jason Bosco - just tested but looks the same. Not sure if it's helpful to know but they return as strings. Pretty sure that's intended though
j
I see, could you open a Github issue for this with a minimal schema, a few documents and the search query you're using to replicate the issue?
e
I will do. To help you identify this issue, every number we see has 6 digits. • 1.23456
• 0.12345 • 123.456 • 1234.56 etc
So not necessarily rounded...
šŸ¤” 1