From a9ad390b9e1d8d31a8f3858678ae5cb9a7c94f33 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 19 Nov 2020 18:42:45 +0100 Subject: [PATCH] move unlisted places to address rank 25 Unlisted places are derived from addr:place and as such are still places not streets. --- sql/functions/address_lookup.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/functions/address_lookup.sql b/sql/functions/address_lookup.sql index 266e8686..6ee1f048 100644 --- a/sql/functions/address_lookup.sql +++ b/sql/functions/address_lookup.sql @@ -289,7 +289,7 @@ BEGIN IF search_unlisted_place is not null THEN RETURN NEXT ROW(null, null, null, hstore('name', search_unlisted_place), - 'place', 'locality', null, null, true, true, 26, 0)::addressline; + 'place', 'locality', null, null, true, true, 25, 0)::addressline; END IF; IF searchpostcode IS NOT NULL THEN