]> git.openstreetmap.org Git - nominatim.git/commit
correctly discard partially matching duplicates
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 3 Jan 2019 20:49:50 +0000 (21:49 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 3 Jan 2019 20:49:50 +0000 (21:49 +0100)
commit7d74bf781c3db408d26b200c72fbbb85371f0ed0
tree4f5bee389d5381e82bbf4d7d51c470e9bf5a184f
parenta0fde50c084dfe033187c0a96bd302cfdd9c2443
correctly discard partially matching duplicates

The same result may be found with different result ranks
in the same search loop when housenumber or postcode are
part of the name or address. In this case we need to keep
the result with the lower result rank.

Fixes #1264.
lib/Geocode.php