I have documents saved in my ES instance which contain coords. Retrieving the distance when performing searches is easy using _geo_distance
sort and I am currently doing that but I would also like ES to calculate the distance when I retrieve a single document.
Is this possible to do? My primary reason for doing this is that I would not like to put the calculation logic in my code because ES already does this well.