]> git.openstreetmap.org Git - nominatim.git/commit
don't restrict to viewbox for frequent terms
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 6 Aug 2025 15:27:52 +0000 (17:27 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 6 Aug 2025 15:27:52 +0000 (17:27 +0200)
commit0045203092fbe4c630a4c5b823567912fdd618d2
tree758d737bf9f19d233ce42470843469eb14cf2efb
parentb325413486ef7cfc9d99d0257c01a15765ed2d98
don't restrict to viewbox for frequent terms

All searched places may be outside the viewbox in which case the
restriction means that there are no results at all. Add the penalty for
being outside the viewbox earlier instead and then cut the list.
src/nominatim_api/search/db_searches/place_search.py
test/python/api/search/test_search_places.py