Open marti6tic opened 7 years ago
Hi Yousef! Helps a lot with your project! I have one question. How can we implement the multisearch (msearch) or something like this:
{"query":{"bool":{"must":{"match":{"location.city":"new york"}},"filter":{"geo_distance":{"distance":"50m","location.geopoint":"45.405505, 3.150756"}}}},"sort":[{"_geo_distance":{"location.geopoint":"43.405505,3.150756","order":"asc","unit":"km","distance_type":"plane"}}]}
Thanks a lot!
Hi Yousef! Helps a lot with your project! I have one question. How can we implement the multisearch (msearch) or something like this:
{"query":{"bool":{"must":{"match":{"location.city":"new york"}},"filter":{"geo_distance":{"distance":"50m","location.geopoint":"45.405505, 3.150756"}}}},"sort":[{"_geo_distance":{"location.geopoint":"43.405505,3.150756","order":"asc","unit":"km","distance_type":"plane"}}]}
Thanks a lot!