]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions/ranking.sql
remove postcodes entirely from indexing
[nominatim.git] / sql / functions / ranking.sql
index 98e70a4235e07d2586b685ac4d27e73722ed6964..0c8f4c497e613ee394fa1bda41f1191f34122202 100644 (file)
@@ -145,10 +145,6 @@ BEGIN
   THEN
     SELECT * INTO search_rank, address_rank
       FROM get_postcode_rank(country, postcode);
-
-    IF NOT extended_type = 'A' THEN
-      address_rank := 0;
-    END IF;
   ELSEIF extended_type = 'N' AND place_class = 'highway' THEN
     search_rank = 30;
     address_rank = 0;