Unwanted Automatic Rounding of double

I have a longitude and latitude field in my database, which feed elasticsearch using the elasticsearch-jdbc. Both my longitude and latitude values are stored in ElasticSearch as a "Double". The database contains "51.9851034000" and ElasticSearch only contains "51.99".

How can i prevent ElasticSearch from rounding this value so i can use the correct Longitudes?

Thanks in advance.

Did you try to adjust parameters rounding and scale? See https://github.com/jprante/elasticsearch-jdbc#parameters

The default value of scale was changed to use two digits by user request, see https://github.com/jprante/elasticsearch-jdbc/issues/43

Thanks, i did not see that.
Is there an option for max scale?

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