]> 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, 24 Apr 2021 13:09:55 +0000 (15:09 +0200)
commit10d99893f9d50fae7ea8890ff65617f0621a8516
tree8e3c00cd41f1caf421532e6c6a94d6883233a2f0
parentb7a5a8b5f79ac50bc8b58c83cdc30bc57ce5a9d0
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