From e0703fb621561c6f5ef9bf2804260baa87d97ee8 Mon Sep 17 00:00:00 2001 From: Diana Shkolnikov Date: Fri, 31 Mar 2017 13:16:31 -0400 Subject: [PATCH] experiments --- middleware/trimByGranularity.js | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/middleware/trimByGranularity.js b/middleware/trimByGranularity.js index 06bf9141..fceb7642 100644 --- a/middleware/trimByGranularity.js +++ b/middleware/trimByGranularity.js @@ -16,7 +16,9 @@ var _ = require('lodash'); var layers = [ 'venue', 'address', + 'address_partial', 'street', + 'street_partial', 'neighbourhood', 'borough', 'postalcode', diff --git a/package.json b/package.json index 98ad08e0..2a396b99 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "pelias-logger": "0.1.0", "pelias-mock-logger": "^1.0.1", "pelias-model": "4.5.1", - "pelias-query": "8.14.0", - "pelias-text-analyzer": "1.7.2", + "pelias-query": "git://github.com/pelias/query.git#optional-locality", + "pelias-text-analyzer": "git://github.com/pelias/text-analyzer.git#dual-postalcodes", "predicates": "^1.0.1", "retry": "^0.10.1", "request": "^2.79.0",