From: Brian Quinion Date: Thu, 18 Nov 2010 14:59:39 +0000 (+0000) Subject: make rank_search consistent X-Git-Tag: v2.0.0~188 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/f5ca016e987c74fea41d90dc3897aa3e743fc9c0?hp=a6453a808db7dccd687a3fceeedff88b0fd2e06c make rank_search consistent --- diff --git a/sql/functions.sql b/sql/functions.sql index b71ca380..90c0c4f4 100644 --- a/sql/functions.sql +++ b/sql/functions.sql @@ -1435,7 +1435,7 @@ BEGIN -- if we have a name add this to the name search table IF NEW.name IS NOT NULL THEN - IF NEW.rank_search <= 26 THEN + IF NEW.rank_search <= 25 THEN result := add_location(NEW.place_id, NEW.country_code, NEW.partition, name_vector, NEW.rank_search, NEW.rank_address, NEW.geometry); END IF;