X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1cce464f866bb56b9427b29a2230321a695394a8..613586920758da1b36fad0629203e01057a36b7b:/sql/partition-functions.src.sql diff --git a/sql/partition-functions.src.sql b/sql/partition-functions.src.sql index 17db9c16..ce00bcf0 100644 --- a/sql/partition-functions.src.sql +++ b/sql/partition-functions.src.sql @@ -160,7 +160,7 @@ BEGIN FROM search_name_-partition- WHERE name_vector && isin_token AND centroid && ST_Expand(point, 0.04) - AND search_rank between 16 and 22 + AND search_rank between 16 and 25 ORDER BY ST_Distance(centroid, point) ASC limit 1; RETURN parent; END IF;