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