Browse Source

reduce admin:borough:boost from 800->600

pull/529/head
missinglink 9 years ago
parent
commit
da4c666538
  1. 2
      query/autocomplete_defaults.js
  2. 2
      test/unit/fixture/autocomplete_linguistic_with_admin.js
  3. 2
      test/unit/fixture/autocomplete_single_character_street.js

2
query/autocomplete_defaults.js

@ -84,7 +84,7 @@ module.exports = _.merge({}, peliasQuery.defaults, {
'admin:borough:analyzer': 'peliasAdmin', 'admin:borough:analyzer': 'peliasAdmin',
'admin:borough:field': 'parent.borough', 'admin:borough:field': 'parent.borough',
'admin:borough:boost': 800, 'admin:borough:boost': 600,
'popularity:field': 'popularity', 'popularity:field': 'popularity',
'popularity:modifier': 'log1p', 'popularity:modifier': 'log1p',

2
test/unit/fixture/autocomplete_linguistic_with_admin.js

@ -58,7 +58,7 @@ module.exports = {
'match': { 'match': {
'parent.borough': { 'parent.borough': {
'analyzer': 'peliasAdmin', 'analyzer': 'peliasAdmin',
'boost': 800, 'boost': 600,
'query': 'three' 'query': 'three'
} }
} }

2
test/unit/fixture/autocomplete_single_character_street.js

@ -60,7 +60,7 @@ module.exports = {
'match': { 'match': {
'parent.borough': { 'parent.borough': {
'analyzer': 'peliasAdmin', 'analyzer': 'peliasAdmin',
'boost': 800, 'boost': 600,
'query': 'laird' 'query': 'laird'
} }
} }

Loading…
Cancel
Save