X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3bf3b894eaddd4f17f7e92353af6b2aa6200ab20..b4ce1fb59954ef21aea12157c3145eb7a5ae2a5a:/lib-sql/functions/address_lookup.sql?ds=sidebyside diff --git a/lib-sql/functions/address_lookup.sql b/lib-sql/functions/address_lookup.sql index 2bbfcd5c..5d2cb94d 100644 --- a/lib-sql/functions/address_lookup.sql +++ b/lib-sql/functions/address_lookup.sql @@ -187,6 +187,7 @@ BEGIN -- --- Return the record for the base entry. + current_rank_address := 1000; FOR location IN SELECT placex.place_id, osm_type, osm_id, name, coalesce(extratags->'linked_place', extratags->'place') as place_type,