From 62315a1775ba655cf70222445aecf78b6ea42d03 Mon Sep 17 00:00:00 2001 From: Diana Shkolnikov Date: Tue, 22 Sep 2015 16:15:46 -0400 Subject: [PATCH] Revert defaults.json change --- query/defaults.js | 2 +- test/unit/fixture/autocomplete_linguistic_focus.js | 2 +- test/unit/fixture/autocomplete_linguistic_focus_null_island.js | 2 +- test/unit/fixture/search_linguistic_focus.js | 2 +- test/unit/fixture/search_linguistic_focus_bbox.js | 2 +- test/unit/fixture/search_linguistic_focus_null_island.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/query/defaults.js b/query/defaults.js index c9613d66..cf9422d0 100644 --- a/query/defaults.js +++ b/query/defaults.js @@ -31,7 +31,7 @@ module.exports = extend( false, peliasQuery.defaults, { 'focus:function': 'linear', 'focus:offset': '1km', - 'focus:scale': '100km', + 'focus:scale': '50km', 'focus:decay': 0.5, 'function_score:score_mode': 'avg', diff --git a/test/unit/fixture/autocomplete_linguistic_focus.js b/test/unit/fixture/autocomplete_linguistic_focus.js index a1eb6d45..76e844e3 100644 --- a/test/unit/fixture/autocomplete_linguistic_focus.js +++ b/test/unit/fixture/autocomplete_linguistic_focus.js @@ -44,7 +44,7 @@ module.exports = { 'lon': -82.50622 }, 'offset': '1km', - 'scale': '100km', + 'scale': '50km', 'decay': 0.5 } } diff --git a/test/unit/fixture/autocomplete_linguistic_focus_null_island.js b/test/unit/fixture/autocomplete_linguistic_focus_null_island.js index 7e105bb3..ded463bf 100644 --- a/test/unit/fixture/autocomplete_linguistic_focus_null_island.js +++ b/test/unit/fixture/autocomplete_linguistic_focus_null_island.js @@ -44,7 +44,7 @@ module.exports = { 'lon': 0 }, 'offset': '1km', - 'scale': '100km', + 'scale': '50km', 'decay': 0.5 } } diff --git a/test/unit/fixture/search_linguistic_focus.js b/test/unit/fixture/search_linguistic_focus.js index b9878dec..eac92086 100644 --- a/test/unit/fixture/search_linguistic_focus.js +++ b/test/unit/fixture/search_linguistic_focus.js @@ -44,7 +44,7 @@ module.exports = { 'lon': -82.50622 }, 'offset': '1km', - 'scale': '100km', + 'scale': '50km', 'decay': 0.5 } } diff --git a/test/unit/fixture/search_linguistic_focus_bbox.js b/test/unit/fixture/search_linguistic_focus_bbox.js index b6e642d1..d7aa6544 100644 --- a/test/unit/fixture/search_linguistic_focus_bbox.js +++ b/test/unit/fixture/search_linguistic_focus_bbox.js @@ -44,7 +44,7 @@ module.exports = { 'lon': -82.50622 }, 'offset': '1km', - 'scale': '100km', + 'scale': '50km', 'decay': 0.5 } } diff --git a/test/unit/fixture/search_linguistic_focus_null_island.js b/test/unit/fixture/search_linguistic_focus_null_island.js index 4ba2adf0..506dcea9 100644 --- a/test/unit/fixture/search_linguistic_focus_null_island.js +++ b/test/unit/fixture/search_linguistic_focus_null_island.js @@ -44,7 +44,7 @@ module.exports = { 'lon': 0 }, 'offset': '1km', - 'scale': '100km', + 'scale': '50km', 'decay': 0.5 } }