X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3dba772852378683e864feab37f5a74b803e6030..1b51a5abebd03284924b69058ecba9dbdff11acb:/sql/partition-functions.src.sql diff --git a/sql/partition-functions.src.sql b/sql/partition-functions.src.sql index 6afbbdda..0e26849d 100644 --- a/sql/partition-functions.src.sql +++ b/sql/partition-functions.src.sql @@ -124,7 +124,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.03) + AND ST_DWithin(centroid, point, 0.01) AND search_rank between 22 and 27 ORDER BY distance ASC limit 1 LOOP