X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3e4754febddcf8966c9a80f04d726a201acfda26..1c7da4318298a790e63c5648de57b3b804426731:/utils/update.php?ds=inline diff --git a/utils/update.php b/utils/update.php index 033c3019..2fa773fe 100644 --- a/utils/update.php +++ b/utils/update.php @@ -49,6 +49,7 @@ $aCMDOptions getCmdOpt($_SERVER['argv'], $aCMDOptions, $aResult, true, true); if (!isset($aResult['index-instances'])) $aResult['index-instances'] = 1; + if (!isset($aResult['index-rank'])) $aResult['index-rank'] = 0; date_default_timezone_set('Etc/UTC'); @@ -82,6 +83,12 @@ if (!is_null(CONST_Osm2pgsql_Flatnode_File) && CONST_Osm2pgsql_Flatnode_File) { } $sIndexCmd = CONST_BasePath.'/nominatim/nominatim.py'; +if (!$aResult['quiet']) { + $sIndexCmd .= ' -v'; +} +if ($aResult['verbose']) { + $sIndexCmd .= ' -v'; +} if ($aResult['init-updates']) { // sanity check that the replication URL is correct