docs: need to index after updating with a file

Fixes #2031.
This commit is contained in:
Sarah Hoffmann
2020-10-31 22:53:08 +01:00
parent 7f55dcef3a
commit 42775f959b

View File

@@ -51,7 +51,8 @@ The file `import_multiple_regions.sh` needs to be edited as per your requirement
!!! tip !!! tip
If your database already exists and you want to add more countries, replace the setting up part If your database already exists and you want to add more countries, replace the setting up part
`${SETUPFILE} --osm-file ${UPDATEDIR}/tmp/combined.osm.pbf --all 2>&1` `${SETUPFILE} --osm-file ${UPDATEDIR}/tmp/combined.osm.pbf --all 2>&1`
with `${UPDATEFILE} --import-file ${UPDATEDIR}/tmp/combined.osm.pbf 2>&1`. with `${UPDATEFILE} --import-file ${UPDATEDIR}/tmp/combined.osm.pbf --index --index-instances N 2>&1`
where N is the numbers of CPUs in your system.
### Setting up multiple regions ### Setting up multiple regions