]> git.openstreetmap.org Git - nominatim.git/commit
sort housenumber parents by accuracy first
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 7 Jul 2025 10:06:06 +0000 (12:06 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 7 Jul 2025 10:06:06 +0000 (12:06 +0200)
commit970d81fb27e2e56b9e91e1516677b0d5c75112d2
tree756f42055eb80c0844275240711098a5651fccc7
parentcecdbeb7cfa47b6417559d3f4135b5a7505d4b68
sort housenumber parents by accuracy first

Sorting them by presence of housenumber only will give an undue
preference to results with a housenumber while disregarding other
factors like matching postcodes.
src/nominatim_api/search/db_searches/address_search.py