From da4c66653871c2ee5b8d82783efbfbf16fc629fc Mon Sep 17 00:00:00 2001 From: missinglink Date: Thu, 28 Apr 2016 14:34:55 +0200 Subject: [PATCH] reduce admin:borough:boost from 800->600 --- query/autocomplete_defaults.js | 2 +- test/unit/fixture/autocomplete_linguistic_with_admin.js | 2 +- test/unit/fixture/autocomplete_single_character_street.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/query/autocomplete_defaults.js b/query/autocomplete_defaults.js index 8f46ce8d..08e33aeb 100644 --- a/query/autocomplete_defaults.js +++ b/query/autocomplete_defaults.js @@ -84,7 +84,7 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'admin:borough:analyzer': 'peliasAdmin', 'admin:borough:field': 'parent.borough', - 'admin:borough:boost': 800, + 'admin:borough:boost': 600, 'popularity:field': 'popularity', 'popularity:modifier': 'log1p', diff --git a/test/unit/fixture/autocomplete_linguistic_with_admin.js b/test/unit/fixture/autocomplete_linguistic_with_admin.js index a0b07025..7cb51eea 100644 --- a/test/unit/fixture/autocomplete_linguistic_with_admin.js +++ b/test/unit/fixture/autocomplete_linguistic_with_admin.js @@ -58,7 +58,7 @@ module.exports = { 'match': { 'parent.borough': { 'analyzer': 'peliasAdmin', - 'boost': 800, + 'boost': 600, 'query': 'three' } } diff --git a/test/unit/fixture/autocomplete_single_character_street.js b/test/unit/fixture/autocomplete_single_character_street.js index 77264f8e..f89e8493 100644 --- a/test/unit/fixture/autocomplete_single_character_street.js +++ b/test/unit/fixture/autocomplete_single_character_street.js @@ -60,7 +60,7 @@ module.exports = { 'match': { 'parent.borough': { 'analyzer': 'peliasAdmin', - 'boost': 800, + 'boost': 600, 'query': 'laird' } }