]> git.openstreetmap.org Git - nominatim.git/commitdiff
depreciate place=region due to common miss-use
authorBrian Quinion <openstreetmap@brian.quinion.co.uk>
Thu, 26 Apr 2012 12:11:56 +0000 (13:11 +0100)
committerBrian Quinion <openstreetmap@brian.quinion.co.uk>
Thu, 26 Apr 2012 12:11:56 +0000 (13:11 +0100)
sql/functions.sql

index 3c9da6a5defac4b57334764e7149100de0552a4e..806e1566f09fd1c9d26a2c755a4eab87d112e661 100644 (file)
@@ -1007,8 +1007,8 @@ BEGIN
         NEW.rank_search := 8;
         NEW.rank_address := NEW.rank_search;
       ELSEIF NEW.type in ('region') THEN
-        NEW.rank_search := 10;
-        NEW.rank_address := NEW.rank_search;
+        NEW.rank_search := 18; -- dropped from previous value of 10
+        NEW.rank_address := 0; -- So badly miss-used that better to just drop it!
       ELSEIF NEW.type in ('county') THEN
         NEW.rank_search := 12;
         NEW.rank_address := NEW.rank_search;