]> git.openstreetmap.org Git - nominatim.git/commit
increase penalty for places without housenumber
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 16 Feb 2021 16:47:06 +0000 (17:47 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 16 Feb 2021 16:47:06 +0000 (17:47 +0100)
commit8eb85f13400cab225639139006596e75645c8b87
tree45ec42d3040bea53b01794ac8964f85bc2aed758
parent2a8e3741faa4e2e1b8577dd58f6cd1c08887f45d
increase penalty for places without housenumber

Results where the housenumber was dropped are an unlikely result
when they refer to something other than a street. Therefore
increase their result rank so that other matches are tried first
before choosing them as a result.

Improves #2167.
lib-php/Geocode.php
lib-php/Result.php
lib-php/SearchDescription.php