X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/caf018538fab83e3b5a32bbb5e5c41ec7045ead2..3546b304739f2b214667ec0127ae7762be4cd5d5:/sql/functions.sql?ds=sidebyside

diff --git a/sql/functions.sql b/sql/functions.sql
index 3c64cf15..a9bca542 100644
--- a/sql/functions.sql
+++ b/sql/functions.sql
@@ -915,6 +915,9 @@ BEGIN
       ELSE
         NEW.rank_address := 0;
       END IF;
+    ELSEIF NEW.class = 'leisure' and NEW.type in ('park') THEN
+      NEW.rank_search := 24;
+      NEW.rank_address := 0;
     ELSEIF NEW.class = 'natural' and NEW.type in ('peak','volcano','mountain_range') THEN
       NEW.rank_search := 18;
       NEW.rank_address := 0;
