X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0c47558729764a8c53d635c22b6f0cb967a03989..fa681ce246c98de6242af708e4e03f533bcf2d5a:/nominatim/tools/refresh.py diff --git a/nominatim/tools/refresh.py b/nominatim/tools/refresh.py index 45796014..5dd98c0e 100644 --- a/nominatim/tools/refresh.py +++ b/nominatim/tools/refresh.py @@ -176,7 +176,7 @@ def recompute_importance(conn: Connection) -> None: cur.execute(""" UPDATE placex SET (wikipedia, importance) = (SELECT wikipedia, importance - FROM compute_importance(extratags, country_code, osm_type, osm_id, centroid)) + FROM compute_importance(extratags, country_code, rank_search, centroid)) """) cur.execute(""" UPDATE placex s SET wikipedia = d.wikipedia, importance = d.importance