I have a list of one thousand stores and need to extract the list of people who have been nearby (within 100m of) these stores

I have a list of one thousand stores and need to extract the list of people who have been nearby (within 100m of) these stores.
Which query or aggregation should I use in order not to make one thousand queries/aggregations?

There's no single query that can help here unfortunately. But you can issue multiple queries with _msearch https://www.elastic.co/guide/en/elasticsearch/reference/6.4/search-multi-search.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.