X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f2ad6c961c68a0fd49e180906bc75cb577f23041..3b960a5bf343f5617326f162c6df3399dce34930:/sql/partitions.src.sql 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