]> git.openstreetmap.org Git - nominatim.git/commit
merge addr tags into search_name table
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 3 Sep 2020 08:38:33 +0000 (10:38 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 21 Sep 2020 08:15:14 +0000 (10:15 +0200)
commitcaea14d0357a1e0a901dfac82febc834aec95f0f
tree28cdc00da279bc880b16a2905eec468a24727047
parentc5fc12e04b1b00ae50ad7f92d2577a7ae5a324bf
merge addr tags into search_name table

When a place of rank 30 has addr tags that are not covered by the
search terms of the parent, add a separate entry for the POI in
the search_name table that includes the addr tags. We can only
do that with named places. For POIs without a name the housenumber
is used as name. If that is not available either, searching still
won't work.
sql/functions/normalization.sql
sql/functions/placex_triggers.sql
test/bdd/db/import/search_name.feature
test/bdd/steps/db_ops.py