]> git.openstreetmap.org Git - nominatim.git/commit
simplify handling of SQL lookup code for search_name
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 6 Dec 2023 09:37:06 +0000 (10:37 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Dec 2023 08:31:00 +0000 (09:31 +0100)
commitb06f5fddcbe9c716afddde1e6d02df6f43ec1081
treeec568d9e6836337f82bb4e0bc6f37e128c7a87ab
parent8791c6cb69e344dac314078100c5c030b04e26f1
simplify handling of SQL lookup code for search_name

Use function classes which can be instantiated directly.
nominatim/api/search/db_search_builder.py
nominatim/api/search/db_search_fields.py
nominatim/api/search/db_search_lookups.py [new file with mode: 0644]
nominatim/api/search/db_searches.py
test/python/api/search/test_db_search_builder.py
test/python/api/search/test_search_near.py
test/python/api/search/test_search_places.py