|
|
|
@ -50,37 +50,37 @@ module.exports = _.merge({}, peliasQuery.defaults, {
|
|
|
|
|
'address:postcode:field': 'address.zip', |
|
|
|
|
'address:postcode:boost': 2000, |
|
|
|
|
|
|
|
|
|
'admin:alpha3:analyzer': 'standard', |
|
|
|
|
'admin:alpha3:field': 'alpha3', |
|
|
|
|
'admin:alpha3:boost': 1000, |
|
|
|
|
'admin:country_a:analyzer': 'standard', |
|
|
|
|
'admin:country_a:field': 'parent.country_a', |
|
|
|
|
'admin:country_a:boost': 1000, |
|
|
|
|
|
|
|
|
|
'admin:admin0:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:admin0:field': 'admin0', |
|
|
|
|
'admin:admin0:boost': 800, |
|
|
|
|
'admin:country:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:country:field': 'parent.country', |
|
|
|
|
'admin:country:boost': 800, |
|
|
|
|
|
|
|
|
|
'admin:admin1:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:admin1:field': 'admin1', |
|
|
|
|
'admin:admin1:boost': 600, |
|
|
|
|
'admin:region:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:region:field': 'parent.region', |
|
|
|
|
'admin:region:boost': 600, |
|
|
|
|
|
|
|
|
|
'admin:admin1_abbr:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:admin1_abbr:field': 'admin1_abbr', |
|
|
|
|
'admin:admin1_abbr:boost': 600, |
|
|
|
|
'admin:region_a:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:region_a:field': 'parent.region_a', |
|
|
|
|
'admin:region_a:boost': 600, |
|
|
|
|
|
|
|
|
|
'admin:admin2:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:admin2:field': 'admin2', |
|
|
|
|
'admin:admin2:boost': 400, |
|
|
|
|
'admin:county:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:county:field': 'parent.county', |
|
|
|
|
'admin:county:boost': 400, |
|
|
|
|
|
|
|
|
|
'admin:local_admin:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:local_admin:field': 'local_admin', |
|
|
|
|
'admin:local_admin:boost': 200, |
|
|
|
|
'admin:localadmin:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:localadmin:field': 'parent.localadmin', |
|
|
|
|
'admin:localadmin:boost': 200, |
|
|
|
|
|
|
|
|
|
'admin:locality:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:locality:field': 'locality', |
|
|
|
|
'admin:locality:field': 'parent.locality', |
|
|
|
|
'admin:locality:boost': 200, |
|
|
|
|
|
|
|
|
|
'admin:neighborhood:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:neighborhood:field': 'neighborhood', |
|
|
|
|
'admin:neighborhood:boost': 200, |
|
|
|
|
'admin:neighbourhood:analyzer': 'peliasAdmin', |
|
|
|
|
'admin:neighbourhood:field': 'parent.neighbourhood', |
|
|
|
|
'admin:neighbourhood:boost': 200, |
|
|
|
|
|
|
|
|
|
'popularity:field': 'popularity', |
|
|
|
|
'popularity:modifier': 'log1p', |
|
|
|
|