tools/rebuildSearchIndex.php

Go to the documentation of this file.
00001 <?php
00002 
00015 //$Id$
00016 
00017 require(dirname(__FILE__) . '/bootstrap.inc.php');
00018 
00019 import('search.PaperSearchIndex');
00020 
00021 class rebuildSearchIndex extends CommandLineTool {
00022 
00026    function usage() {
00027       echo "Script to rebuild paper search index\n"
00028          . "Usage: {$this->scriptName}\n";
00029    }
00030 
00034    function execute() {
00035       PaperSearchIndex::rebuildIndex(true);
00036    }
00037 
00038 }
00039 
00040 $tool = new rebuildSearchIndex(isset($argv) ? $argv : array());
00041 $tool->execute();
00042 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7