]> git.openstreetmap.org Git - nominatim.git/commit
add support index when continuing import at index phase
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Apr 2021 09:07:04 +0000 (11:07 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Apr 2021 09:07:04 +0000 (11:07 +0200)
commitd74ae669e3cfd9d91b7ec6ef373bd5e9643ee148
treea8ffbd9374dac12e15e959b2214d662243e1a63a
parent9fabc5572db3cb5cb5f497c0a36e301d9d316dcc
add support index when continuing import at index phase

Indexing scans the placex table sequentially during indexing
on the initial import. That is okay because we know that all
rows need to be processed anywhere. When continuing the import,
however, a large part might already be indexed, so that the
process spends a lot of time going through rows that are no
longer of interest. Create a supporting index for all unindexed
rows to speed up the scan. This is the same index as used later
for updates.
nominatim/clicmd/setup.py