]> git.openstreetmap.org Git - nominatim.git/commit
adjust penalty for housenumber-in-name searches
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 26 Jun 2021 08:31:55 +0000 (10:31 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 26 Jun 2021 09:37:15 +0000 (11:37 +0200)
commit161f5f5cee9be820d59cf7dcc500c8074b42ed83
treef40ad60837bb50113a370c921cc2174b19512df9
parente7b4fc70e786d6914ffad2bc424535b40c1db675
adjust penalty for housenumber-in-name searches

When searching for house numbers in the name (for place-only
terms) then the same penalties need to apply as for the
regular house number search.

Change the code to first compute the penalties and then create
the new search variants.
lib-php/SearchDescription.php