X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1347abb1e74dd72a6b9f98c40c54c261b2463373..613586920758da1b36fad0629203e01057a36b7b:/sql/partition-functions.src.sql?ds=inline 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;