Finding distance between Geo Points

Hello,
I would like to find distance between two geo points(lat,lon)

I have tried to find distance using script_fields but getting this error

Is there any good way to find out the distance between two points except geo sort and filter queries. ?

https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking_50_scripting.html#_geopoint_scripts

1 Like

Thanks @ywelsch
i was thinking that my query/approach was wrong, thanks will check

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