]> git.openstreetmap.org Git - nominatim.git/commit
make sure that all postcodes have an entry in word
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 17 Sep 2020 15:11:22 +0000 (17:11 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 17 Sep 2020 15:11:22 +0000 (17:11 +0200)
commit36007091166cdf30b1593f8a1d6c7673ef8ca45e
tree08ff64e54e9c63cd5f6b58d773ee119bb63690dc
parentdf115c73b21a5efcd0e0cc815a4d8228093b62d0
make sure that all postcodes have an entry in word

It may happen that two different postcodes normalize to exactly
the same token. In that case we still need two different entries
in the word table. Token lookup will then make sure that the correct
one is choosen.

Fixes #1953.
sql/functions/normalization.sql
test/bdd/db/import/postcodes.feature