diff --git a/package.json b/package.json index ee246500d..f6a1f458f 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "pelias-logger": "^1.2.0", "pelias-microservice-wrapper": "^1.10.0", "pelias-model": "^9.0.0", - "pelias-parser": "pelias/parser#remove-unit-type", + "pelias-parser": "pelias/parser#remove-unit-type-updated", "pelias-query": "^11.0.0", "pelias-sorting": "^1.2.0", "predicates": "^2.0.0", diff --git a/query/autocomplete_defaults.js b/query/autocomplete_defaults.js index 3c634c891..8c5054f42 100644 --- a/query/autocomplete_defaults.js +++ b/query/autocomplete_defaults.js @@ -72,6 +72,8 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'admin:country_a:boost': 1, 'admin:country_a:cutoff_frequency': 0.01, + 'admin:dependency_a:field': 'parent.dependency_a', + 'admin:country:analyzer': 'peliasAdmin', 'admin:country:field': 'parent.country.ngram', 'admin:country:boost': 1, diff --git a/query/search_defaults.js b/query/search_defaults.js index 83dd48465..02dd54000 100644 --- a/query/search_defaults.js +++ b/query/search_defaults.js @@ -62,6 +62,8 @@ module.exports = _.merge({}, peliasQuery.defaults, { 'admin:country_a:boost': 1, 'admin:country_a:cutoff_frequency': 0.01, + 'admin:dependency_a:field': 'parent.dependency_a', + 'admin:country:analyzer': 'peliasAdmin', 'admin:country:field': 'parent.country', 'admin:country:boost': 1,