Hi,
I have a field called 'lieux' which have multiple GeoPoint.
I want to write a scriptField to calculate the minimum distance between a point and 'lieux' field.
But I didn't find how I can solve this problem ?
If I iterate on my lieux field, the array returned is not a GeoDistance object anymore so I can't use arcDistance.
I tried to use org.elasticsearch... Distance but it doesn't work as well..
Could someone help me ?
Thanks in advance !