I have a document with many restaurants including their location.
Is it possible to get all of them in a 100km range and group them into 3 ranges. So I will first see all which are at max 10km away from my location, sorted randomly. Followed by those which are at max 50km away and so on:
I have tried to use geo-distance-query but then i get all results ordered by distance.
But i only want to order them in steps of xkm.
So a restaurant with a distance of 1km should have the exact same score than one with a distance of 2km. How can i achieve this?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.