]> git.openstreetmap.org Git - nominatim.git/commit
avoid LookupAny with address and too many name tokens
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 29 Jan 2024 15:52:14 +0000 (16:52 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 29 Jan 2024 15:52:14 +0000 (16:52 +0100)
commit33c0f249b1a9bc716bcb89078c4a766766cbe94f
treed2e0c364a8a78fe13fdff5af1ad8ff82ca88a6c3
parent76eadc562cdb02ed67899281d46893d9b091e29b
avoid LookupAny with address and too many name tokens

The index for nameaddress_vector has grown so large that PostgreSQL
will resort to a sequential scan if there are too many items
in the LookupAny list.
nominatim/api/search/db_search_builder.py