]> git.openstreetmap.org Git - nominatim.git/commit
fix query over classtype tables
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 30 Jul 2023 21:51:36 +0000 (23:51 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 30 Jul 2023 21:51:36 +0000 (23:51 +0200)
commit8fc3dd9457ba702511c65e9d14c8c5cdcdd9246f
tree824f9abe1bfd2b4a79b627078140baf8c501d471
parentd97ca9fcb2ae54080d6b92c7e85ff111308bc1cc
fix query over classtype tables

The case statement prevented the index on the classtype tables
from being used. Move the case statement inside the geometry
function instead.
nominatim/api/search/db_searches.py
nominatim/db/sqlalchemy_types.py