]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions.sql
move place=isolated_dwelling up to the same rank as place=locality
[nominatim.git] / sql / functions.sql
index de8507180c81f117a5971961c21169bf53721ceb..3029d01588ab6a8f696b095f6232ed129f7ac191 100644 (file)
@@ -985,7 +985,7 @@ BEGIN
       ELSEIF NEW.type in ('suburb','croft','subdivision') THEN
         NEW.rank_search := 20;
         NEW.rank_address := NEW.rank_search;
-      ELSEIF NEW.type in ('farm','locality','islet') THEN
+      ELSEIF NEW.type in ('farm','locality','islet','isolated_dwelling') THEN
         NEW.rank_search := 20;
         NEW.rank_address := 0;
       ELSEIF NEW.type in ('hall_of_residence','neighbourhood','housing_estate','nature_reserve') THEN