How to calculate distance between two points


(harshyadav) #1

Hello Sir,

       I want to find distance between two geo points by elastic

search but i haven't find any query regarding it.If there is any
option to calculate distance between two points .Please let me know.

Regards:

Harry


(Shay Banon) #2

Maybe this filters will help?

http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-filter.html
http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-range-filter.html

On Tue, Jul 26, 2011 at 9:18 AM, harry harsh.mca9@gmail.com wrote:

Hello Sir,

      I want to find distance between two geo points by elastic

search but i haven't find any query regarding it.If there is any
option to calculate distance between two points .Please let me know.

Regards:

Harry


(system) #3