From 1716c9e34c55cbfb7ca4be00dfc2ac54fa32080e Mon Sep 17 00:00:00 2001 From: greenkeeperio-bot Date: Thu, 4 Aug 2016 08:53:28 -0700 Subject: [PATCH 1/2] chore(package): update pelias-text-analyzer to version 1.3.0 https://greenkeeper.io/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1732b338..4fa1488e 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "pelias-logger": "0.0.8", "pelias-model": "4.1.0", "pelias-query": "8.3.0", - "pelias-text-analyzer": "1.2.0", + "pelias-text-analyzer": "1.3.0", "stats-lite": "2.0.3", "through2": "2.0.1" }, From 76e54bf7d3968dc3d906e06e5c8459766f86f30e Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Thu, 4 Aug 2016 12:00:58 -0400 Subject: [PATCH 2/2] Update test expectations to be better! addressit can now detect that "new york" the state should be abbreviated "NY". --- test/unit/fixture/search_partial_address.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/fixture/search_partial_address.js b/test/unit/fixture/search_partial_address.js index 10a2bb74..b0c82a3f 100644 --- a/test/unit/fixture/search_partial_address.js +++ b/test/unit/fixture/search_partial_address.js @@ -78,7 +78,7 @@ module.exports = { 'parent.region_a': { 'analyzer': 'peliasAdmin', 'boost': 1, - 'query': 'new york' + 'query': 'NY' } } }, {