]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
remove intermediate ANALYSE while indexing
[nominatim.git] / utils / setup.php
index b40bad3aa24de2df2663a13dde30fdf10c4f99d5..4b60815cd89fad0f41ef15fd7a9a175e677c8e0e 100755 (executable)
                $sOutputFile = '';
                if (isset($aCMDResult['index-output'])) $sOutputFile = ' -F '.$aCMDResult['index-output'];
                $sBaseCmd = CONST_BasePath.'/nominatim/nominatim -i -d '.$aDSNInfo['database'].' -t '.$iInstances.$sOutputFile;
-               passthru($sBaseCmd.' -R 4');
-               pgsqlRunScript('ANALYSE');
-               passthru($sBaseCmd.' -r 5 -R 25');
-               pgsqlRunScript('ANALYSE');
-               passthru($sBaseCmd.' -r 26');
+               passthru($sBaseCmd);
        }
 
        if ($aCMDResult['create-search-indices'] || $aCMDResult['all'])