Browse Source

Add search config settings for borough

pull/522/head
Julian Simioni 9 years ago
parent
commit
028ab1d889
No known key found for this signature in database
GPG Key ID: 6DAD08919FDBF563
  1. 4
      query/search_defaults.js

4
query/search_defaults.js

@ -78,6 +78,10 @@ module.exports = _.merge({}, peliasQuery.defaults, {
'admin:locality:field': 'parent.locality', 'admin:locality:field': 'parent.locality',
'admin:locality:boost': 1, 'admin:locality:boost': 1,
'admin:borough:analyzer': 'peliasAdmin',
'admin:borough:field': 'parent.borough',
'admin:borough:boost': 1,
'admin:neighbourhood:analyzer': 'peliasAdmin', 'admin:neighbourhood:analyzer': 'peliasAdmin',
'admin:neighbourhood:field': 'parent.neighbourhood', 'admin:neighbourhood:field': 'parent.neighbourhood',
'admin:neighbourhood:boost': 1, 'admin:neighbourhood:boost': 1,

Loading…
Cancel
Save