Painless DistanceInMiles

I am trying to return the distance an entity is away from from a given point.
I'm using Elasticesearch v6.2.3.
I saw that the DistanceInMiles function has been deprecated and that I should switch to using ArcDistance, PlanceDistance or GeoHashDistance, but I can't find any documentation that explains the difference.
Which one is the best replacement for DistanceInMiles?

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