diff --git a/query/reverse_defaults.js b/query/reverse_defaults.js index 15fa3894..3b468a05 100644 --- a/query/reverse_defaults.js +++ b/query/reverse_defaults.js @@ -29,7 +29,7 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'phrase:slop': 2, 'focus:function': 'linear', - 'focus:offset': '1km', + 'focus:offset': '0km', 'focus:scale': '50km', 'focus:decay': 0.5, 'focus:weight': 2, diff --git a/query/search_defaults.js b/query/search_defaults.js index 9d220d4c..4f77bccc 100644 --- a/query/search_defaults.js +++ b/query/search_defaults.js @@ -28,7 +28,7 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'phrase:slop': 2, 'focus:function': 'linear', - 'focus:offset': '1km', + 'focus:offset': '0km', 'focus:scale': '50km', 'focus:decay': 0.5, 'focus:weight': 2, diff --git a/test/unit/fixture/search_linguistic_focus.js b/test/unit/fixture/search_linguistic_focus.js index 0fdf03f0..72c0570d 100644 --- a/test/unit/fixture/search_linguistic_focus.js +++ b/test/unit/fixture/search_linguistic_focus.js @@ -41,7 +41,7 @@ module.exports = { 'lat': 29.49136, 'lon': -82.50622 }, - 'offset': '1km', + 'offset': '0km', '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 d27791cb..23de4cf9 100644 --- a/test/unit/fixture/search_linguistic_focus_bbox.js +++ b/test/unit/fixture/search_linguistic_focus_bbox.js @@ -41,7 +41,7 @@ module.exports = { 'lat': 29.49136, 'lon': -82.50622 }, - 'offset': '1km', + 'offset': '0km', '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 e191400a..6704b96e 100644 --- a/test/unit/fixture/search_linguistic_focus_null_island.js +++ b/test/unit/fixture/search_linguistic_focus_null_island.js @@ -41,7 +41,7 @@ module.exports = { 'lat': 0, 'lon': 0 }, - 'offset': '1km', + 'offset': '0km', 'scale': '50km', 'decay': 0.5 } diff --git a/test/unit/fixture/search_linguistic_viewport.js b/test/unit/fixture/search_linguistic_viewport.js index b0339134..fdaa91a0 100644 --- a/test/unit/fixture/search_linguistic_viewport.js +++ b/test/unit/fixture/search_linguistic_viewport.js @@ -46,7 +46,7 @@ module.exports = { 'lat': 29.49136, 'lon': -82.50622 }, - 'offset': '1km', + 'offset': '0km', 'scale': '50km', 'decay': 0.5 } diff --git a/test/unit/fixture/search_linguistic_viewport_min_diagonal.js b/test/unit/fixture/search_linguistic_viewport_min_diagonal.js index e6b50ac6..67962109 100644 --- a/test/unit/fixture/search_linguistic_viewport_min_diagonal.js +++ b/test/unit/fixture/search_linguistic_viewport_min_diagonal.js @@ -48,7 +48,7 @@ module.exports = { 'lat': 28.49136, 'lon': -87.50623 }, - 'offset': '1km', + 'offset': '0km', 'scale': '1km', 'decay': 0.5 }