maintenance/rebuildtextindex.php File Reference

Rebuild search index table from scratch. More...

Go to the source code of this file.

Variables

 $database = wfGetDB( DB_MASTER )
if(!$database instanceof
DatabaseMysql
$wgTitle = Title::newFromText( "Rebuild text index script" )
print Done n


Detailed Description

Rebuild search index table from scratch.

This takes several hours, depending on the database size and server configuration.

This is only for MySQL (see bug 9905). Postgres is trigger-based and should never need rebuilding.

Todo:
document

Definition in file rebuildtextindex.php.


Variable Documentation

$database = wfGetDB( DB_MASTER )

Definition at line 18 of file rebuildtextindex.php.

if (!$database instanceof DatabaseMysql) $wgTitle = Title::newFromText( "Rebuild text index script" )

Definition at line 24 of file rebuildtextindex.php.

print Done n

Definition at line 30 of file rebuildtextindex.php.


Generated on Sat Sep 5 02:08:28 2009 for MediaWiki by  doxygen 1.5.9