X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5605725ebe2c70ecd3d07353e1c51c320642cdf3..b90b3e3b4b0451f9d0f521478952aa26f77786cf:/sql/functions.sql diff --git a/sql/functions.sql b/sql/functions.sql index 382cb003..b1280cac 100644 --- a/sql/functions.sql +++ b/sql/functions.sql @@ -1639,6 +1639,8 @@ BEGIN location_rank_search := 0; location_distance := 0; 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; FOR location IN SELECT * from getNearFeatures(NEW.partition, place_centroid, search_maxrank, isin_tokens) LOOP