mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 13:44:36 +03:00
remove linked places also from the location_area_large tables
We don't want linked places to show up in addresses either, so remove them from the address lookup table.
This commit is contained in:
parent
fc19ebb218
commit
0a14142156
@ -811,6 +811,7 @@ BEGIN
|
||||
IF NOT %REVERSE-ONLY% THEN
|
||||
DELETE FROM search_name WHERE place_id = location.place_id;
|
||||
END IF;
|
||||
PERFORM deleteLocationArea(NEW.partition, location.place_id, NEW.rank_search);
|
||||
|
||||
SELECT wikipedia, importance
|
||||
FROM compute_importance(location.extratags, NEW.country_code,
|
||||
|
Loading…
Reference in New Issue
Block a user