From f5ca016e987c74fea41d90dc3897aa3e743fc9c0 Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Thu, 18 Nov 2010 14:59:39 +0000 Subject: [PATCH] make rank_search consistent --- sql/functions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5