From bdc7b7b35cad56a6895cf1349cc1fdd8cdd9ef6d Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Mon, 12 Mar 2018 00:12:15 -0400 Subject: [PATCH] Lower default reverse radius to 200m In large cities, this should reduce the number of records Elasticsearch has to deal with. --- query/reverse_defaults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query/reverse_defaults.js b/query/reverse_defaults.js index cbcf7a65..104b1ff2 100644 --- a/query/reverse_defaults.js +++ b/query/reverse_defaults.js @@ -12,7 +12,7 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'sort:distance:order': 'asc', 'sort:distance:distance_type': 'plane', - 'boundary:circle:radius': '1km', + 'boundary:circle:radius': '200m', 'boundary:circle:distance_type': 'plane', 'boundary:circle:optimize_bbox': 'indexed',