From e093a09a8d6a78656ea5a9920f5a0383a1b3d630 Mon Sep 17 00:00:00 2001 From: missinglink Date: Thu, 28 Apr 2016 14:47:06 +0200 Subject: [PATCH] remove search related improvements from this PR --- query/search.js | 1 - test/unit/fixture/search_full_address.js | 8 -------- test/unit/fixture/search_partial_address.js | 8 -------- test/unit/fixture/search_regions_address.js | 8 -------- 4 files changed, 25 deletions(-) diff --git a/query/search.js b/query/search.js index 77fcb3f5..9f0a792c 100644 --- a/query/search.js +++ b/query/search.js @@ -30,7 +30,6 @@ query.score( peliasQuery.view.admin('country_a') ); query.score( peliasQuery.view.admin('region') ); query.score( peliasQuery.view.admin('region_a') ); query.score( peliasQuery.view.admin('county') ); -query.score( peliasQuery.view.admin('borough') ); query.score( peliasQuery.view.admin('localadmin') ); query.score( peliasQuery.view.admin('locality') ); query.score( peliasQuery.view.admin('neighbourhood') ); diff --git a/test/unit/fixture/search_full_address.js b/test/unit/fixture/search_full_address.js index dfd64e34..172d439f 100644 --- a/test/unit/fixture/search_full_address.js +++ b/test/unit/fixture/search_full_address.js @@ -139,14 +139,6 @@ module.exports = { 'analyzer': vs['admin:county:analyzer'] } } - }, { - 'match': { - 'parent.borough': { - 'query': 'new york', - 'boost': vs['admin:borough:boost'], - 'analyzer': vs['admin:borough:analyzer'] - } - } }, { 'match': { 'parent.localadmin': { diff --git a/test/unit/fixture/search_partial_address.js b/test/unit/fixture/search_partial_address.js index 746899b7..6810de54 100644 --- a/test/unit/fixture/search_partial_address.js +++ b/test/unit/fixture/search_partial_address.js @@ -107,14 +107,6 @@ module.exports = { 'analyzer': vs['admin:county:analyzer'] } } - }, { - 'match': { - 'parent.borough': { - 'query': 'new york', - 'boost': vs['admin:borough:boost'], - 'analyzer': vs['admin:borough:analyzer'] - } - } }, { 'match': { 'parent.localadmin': { diff --git a/test/unit/fixture/search_regions_address.js b/test/unit/fixture/search_regions_address.js index 0a8b199d..bf3f3dce 100644 --- a/test/unit/fixture/search_regions_address.js +++ b/test/unit/fixture/search_regions_address.js @@ -123,14 +123,6 @@ module.exports = { 'analyzer': vs['admin:county:analyzer'] } } - }, { - 'match': { - 'parent.borough': { - 'query': 'manhattan', - 'boost': vs['admin:borough:boost'], - 'analyzer': vs['admin:borough:analyzer'] - } - } }, { 'match': { 'parent.localadmin': {