From: Sarah Hoffmann Date: Thu, 19 Nov 2020 17:42:45 +0000 (+0100) Subject: move unlisted places to address rank 25 X-Git-Tag: v3.6.0~24^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/a9ad390b9e1d8d31a8f3858678ae5cb9a7c94f33 move unlisted places to address rank 25 Unlisted places are derived from addr:place and as such are still places not streets. --- 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