one of the object I am sending is a java Long with value 4188977024190880439 but when I look it up in the kibana, the value that it shows is 4188977024190880300.
This is happening with most of the values also, the last three digits seems to be generated at random or something.
The fact that it's mapped as a double is precisely the problem. An IEEE double value holds about 16 digits of precision, and it's indeed the 17th digit that's different in your case. You need to make sure the field is mapped as a long.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.