mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
avoid reassigning address rank of place itself
This commit is contained in:
@@ -1639,6 +1639,8 @@ BEGIN
|
|||||||
location_rank_search := 0;
|
location_rank_search := 0;
|
||||||
location_distance := 0;
|
location_distance := 0;
|
||||||
location_parent := NULL;
|
location_parent := NULL;
|
||||||
|
-- added ourself as address already
|
||||||
|
address_havelevel[NEW.rank_address] := true;
|
||||||
-- RAISE WARNING ' getNearFeatures(%,''%'',%,''%'')',NEW.partition, place_centroid, search_maxrank, isin_tokens;
|
-- RAISE WARNING ' getNearFeatures(%,''%'',%,''%'')',NEW.partition, place_centroid, search_maxrank, isin_tokens;
|
||||||
FOR location IN SELECT * from getNearFeatures(NEW.partition, place_centroid, search_maxrank, isin_tokens) LOOP
|
FOR location IN SELECT * from getNearFeatures(NEW.partition, place_centroid, search_maxrank, isin_tokens) LOOP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user