X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb141e027a459e4e32d0ad71803ba2ac90d1d6f1..b57dc6addfe6d91ad78642d1f6881d206b7e425a:/sql/partitions.src.sql?ds=sidebyside diff --git a/sql/partitions.src.sql b/sql/partitions.src.sql index 3fb7962c..ab5b1163 100644 --- a/sql/partitions.src.sql +++ b/sql/partitions.src.sql @@ -178,7 +178,7 @@ BEGIN ST_Distance(centroid, point) as distance, null as isguess FROM search_name_-partition- WHERE name_vector @> ARRAY[isin_token] - AND ST_DWithin(centroid, point, 0.01) + AND ST_DWithin(centroid, point, 0.03) AND search_rank between 22 and 27 ORDER BY distance ASC limit 1 LOOP