]> git.openstreetmap.org Git - nominatim.git/commit
adjust rankings for housenumber-only searches
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 28 Jan 2024 16:54:22 +0000 (17:54 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 28 Jan 2024 18:03:11 +0000 (19:03 +0100)
commit103800a732759d044bcc767d70a1ef943db53f09
treefcfb2d564713901d2be8571665b3bb17064c5c17
parentf9ba7a465a8192f89b4150a43b247d8dd29087cd
adjust rankings for housenumber-only searches

A normal address search with housenumber will use name rankings for
the street name. This is slightly different than weighing for
address parts. Use the same ranking for the first part of the
address for housenumber-only searches to make sure that penalties
remain comparable.
nominatim/api/search/db_search_builder.py