]> git.openstreetmap.org Git - nominatim.git/commit
use non-key index to speed up housenumber search
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 1 Apr 2021 12:29:34 +0000 (14:29 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 1 Apr 2021 15:10:44 +0000 (17:10 +0200)
commit8d8b1d4307f7f56c249a4b64b3943e67765d06ee
tree84df634a34af904303bade37420e7e16fd96c570
parent8dbfdd59b0a209d3785a0e07004d8ca8e80e45d4
use non-key index to speed up housenumber search

On Postgresql versions 11+ add an index to speed up the lookup
of housenumbers for terms found in search_name. This is really
just a band-aid around the query planer's interpretation of the
query.
lib-sql/indices.sql
nominatim/db/sql_preprocessor.py