Sense and ElasticDump roundingoff long type values

When inserting a document into elasticsearch through elasticdump and sense plugin roundinoff the long values.

POST longval/user/1
{
"userId": 123456789123456567
}

When getting the same index

"_index": "longval",
"_type": "user",
"_id": "1",
"_score": 1,
"_source": {
"userId": 123456789123456560
}

How to overcome this, Why does it rounds the after certain digits ?

Any suggestions on the above ?

Use a string!

But I agree this is quite a bug, Lucene should check for data integrity before updating document.

okay Thanks a lot !

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.