But when you have a large set of geo_distance it's pretty difficult to construct and don't seem the way ES must working.
Moreover, if i want to combine this request with searching an other type, for example if an hotel has restaurant around with a distance and a person with a different distance, the request is not really pretty and take a lot of time.
actually all calculations of distance are made in back, and obviously it is not very efficient...
I'm trying to do all of this in one request. At this point I can select person, restaurant and hotel (each are a different type) but I have no idea what to do after. Playing with agg ?
Any advice ? At this point I don't know if my request is possible.
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.