]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions.sql
remove the structuredAddressElement function from search that was moved to lib.php
[nominatim.git] / sql / functions.sql
index 0e0ac8ebf0e7fc08ee3a5b2d4a07f7fe1c185c1d..8593a3b1c9d3aaab051b8a6835ac860452b6d9fd 100644 (file)
@@ -1094,10 +1094,10 @@ BEGIN
       ELSEIF NEW.type in ('national_park') THEN
         NEW.rank_search := 18;
         NEW.rank_address := 18;
-      ELSEIF NEW.type in ('suburb','croft','subdivision') THEN
+      ELSEIF NEW.type in ('suburb','croft','subdivision','isolated_dwelling') THEN
         NEW.rank_search := 20;
         NEW.rank_address := NEW.rank_search;
-      ELSEIF NEW.type in ('farm','locality','islet','isolated_dwelling','mountain_pass') THEN
+      ELSEIF NEW.type in ('farm','locality','islet','mountain_pass') THEN
         NEW.rank_search := 20;
         NEW.rank_address := 0;
         -- Irish townlands, tagged as place=locality and locality=townland