I have such information for saving to ES in my json:
{
"geolocation": {
"latitude": 50.443278299999996,
"longitude": 30.5075698,
"accuracy": 3966
}
}
geolocation in my Java object is GeoPoint (private GeoPoint geolocation
). How I can pass an accuracy to GeoPoint? Or maybe there is another type for saving location with lat, lon and accuracy?