]> git.openstreetmap.org Git - nominatim.git/commit
simplify cross-check of country tokens
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 13 Oct 2017 20:23:39 +0000 (22:23 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 13 Oct 2017 20:23:39 +0000 (22:23 +0200)
commit77b76ae51bc4751c02e58678e9003fa9838abcf1
treed0f684ff09983eff33bb98738b58151ab85821d1
parent9ef2370a2a6e6383b2e166896bfa379e5faff485
simplify cross-check of country tokens

Drop country tokens that do not match the country code list
early. Remove in turn the special country code check for
structured phrases. It is sufficient to do this during
word list building.
lib/Geocode.php
lib/SearchDescription.php