diff --git a/query/autocomplete_defaults.js b/query/autocomplete_defaults.js index 2800141b..34f396ae 100644 --- a/query/autocomplete_defaults.js +++ b/query/autocomplete_defaults.js @@ -31,7 +31,7 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'focus:offset': '0km', 'focus:scale': '250km', 'focus:decay': 0.5, - 'focus:weight': 40, + 'focus:weight': 15, 'function_score:score_mode': 'avg', 'function_score:boost_mode': 'replace', diff --git a/test/unit/fixture/autocomplete_linguistic_focus.js b/test/unit/fixture/autocomplete_linguistic_focus.js index 07c741d7..d6aa0aa7 100644 --- a/test/unit/fixture/autocomplete_linguistic_focus.js +++ b/test/unit/fixture/autocomplete_linguistic_focus.js @@ -44,7 +44,7 @@ module.exports = { 'decay': 0.5 } }, - 'weight': 40 + 'weight': 15 }], 'score_mode': 'avg', 'boost_mode': 'replace', diff --git a/test/unit/fixture/autocomplete_linguistic_focus_null_island.js b/test/unit/fixture/autocomplete_linguistic_focus_null_island.js index b0761f40..8dd3f1e6 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 = { 'decay': 0.5 } }, - 'weight': 40 + 'weight': 15 }], 'score_mode': 'avg', 'boost_mode': 'replace',