mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 21:54:10 +03:00
Revert "increase search radius for named roads"
This reverts commit c2d5303192
.
It causes serious performance problems in densely mapped areas.
This commit is contained in:
parent
705bcf80fb
commit
57facc4767
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user