diff --git a/package.json b/package.json index d0ce18892..a8a9714e7 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "pelias-logger": "^1.2.0", "pelias-microservice-wrapper": "^1.7.0", "pelias-model": "^7.0.0", - "pelias-parser": "1.44.0", + "pelias-parser": "1.52.0", "pelias-query": "^10.0.0", "pelias-sorting": "^1.2.0", "predicates": "^2.0.0", diff --git a/test/unit/sanitizer/_text_pelias_parser.js b/test/unit/sanitizer/_text_pelias_parser.js index 01d5b2f61..a169d5d93 100644 --- a/test/unit/sanitizer/_text_pelias_parser.js +++ b/test/unit/sanitizer/_text_pelias_parser.js @@ -62,7 +62,9 @@ module.exports.tests.text_parser = function (test, common) { // Query with two tokens, number second cases.push(['main 123', { - subject: 'main 123' + subject: '123 main', + street: 'main', + housenumber: '123' }]); // Query with many tokens @@ -147,7 +149,7 @@ module.exports.tests.text_parser = function (test, common) { // university cases.push(['Union College, Kentucky', { subject: 'Union College', - place: 'Union College', + venue: 'Union College', region: 'Kentucky', admin: 'Kentucky' }]);