fix broken field name / committed debug

This commit is contained in:
Brian Quinion 2012-05-22 20:21:58 +02:00
parent d74cf03492
commit f1e381fdd4
2 changed files with 1 additions and 2 deletions

View File

@ -200,7 +200,7 @@ CREATE TABLE placex (
indexed_date TIMESTAMP,
wikipedia TEXT, -- calculated wikipedia article name (language:title)
geometry_sector INTEGER,
calaculated_country_code varchar(2)
calculated_country_code varchar(2)
);
SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2);
CREATE UNIQUE INDEX idx_place_id ON placex USING BTREE (place_id);

View File

@ -441,7 +441,6 @@
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');
var_dump($sBaseCmd.' -r 15 -R 15');
if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE');
passthru($sBaseCmd.' -r 5 -R 25');
if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE');