Hello! I'm having some problems with large numbers in my database. They're large, but well within the limit for the long type. Here's a simple example that shows it 100% of the time:
POST numbertest/bleh/
{
"bleh" : -31112115595161611
}
GET numbertest/_search
{
"query": {
"match_all": {}
}
}
Returns (in Kibana):
"_source": {
"bleh": -31112115595161612
}
My -31112115595161611 is changing to -31112115595161612. Any ideas?
Trying some more things, -31112115595161613 gives -31112115595161612 and -31112115595161614 gives -31112115595161616.
Edit: I let ES create the mapping, and it assigned the value to the 'long' data type.
Thank you!