X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5140b12aa290e7de8fd0c53f4977e881e5fee0e1..acc0a00b08e482fa21690b52881707ce0498ce2c:/sql/partition-functions.src.sql?ds=inline 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