D
D
Drum Kit2016-01-12 17:28:48
elasticsearch
Drum Kit, 2016-01-12 17:28:48

How to calculate distance between coordinates?

I have a field for coordinates in my document and I need to find the distance between them and if, for example, it is less than 50 km, then return the result.
How can this be implemented in elasticsearch using groovy?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question