It typically happens if you put data into elasticsearch using Sense or some other JavaScript-based applications. Large numbers like this one are getting rounded in JavaScript before they reach Elasticsearch. Please see https://github.com/elastic/elasticsearch/issues/5518#issuecomment-38540645 for more information about the issue.
On Tuesday, 28 April 2015 23:02:16 UTC-4, Stabaoc wrote: > > I meet a problem . When I index an value , for example {"id": > -8848340816900692111}, > then i search it ,it shows that "id": -8848340816900692000. > Anyone can help? I want know why does elasticsearch do this and how can i > deal with. > Thanks. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e12eb941-fe3c-43d3-931d-2efea9577525%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.