Help:Maintenance script "rebuildFulltextSearchTable.php"

Jump to: navigation, search
maintenance script "rebuildFulltextSearchTable.php"
Allows to rebuild the full text search data table
Further Information
Provided by: Semantic MediaWiki
Added: 2.5.0
Removed: still in use
Location (path): ./extensions/SemanticMediaWiki/maintenance/
Class docu: RebuildFulltextSearchTable
Table of Contents

The rebuildFulltextSearchTable.php maintenance script rebuilds the database table used for the full-text search feature. The maintenance script was introduced in Semantic MediaWiki (SMW) Semantic MediaWiki 2.5.012 and currently only works if the configuration parameter $smwgDefaultStore is set to SMWSQLStore3 (= default setting), i.e. SPARQL stores are currently not supported. Note that this script enforces an five second countdown period prior to its actual execution.

Important Note

  • If SMW is not installed in its standard path then the "MW_INSTALL_PATH" environment variable must be set. See README in the maintenance directory.


php rebuildFulltextSearchTable.php [--v|--quick|--report-runtime]

NoteNote:  This only shows the script specific parameters.


Generic parameters

--help (-h)
Display this help message
--quiet (-q)
Whether to supress non-error output
Location of "LocalSettings.php", if not default
For specifying the wiki ID
Output globals at the end of processing for debugging
Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it
The protocol and server name to use in URLs, e.g. This is sometimes necessary because server name detection may fail in command line scripts.

Script dependant parameters

The DB user to use for this script
The password to use for this script

Script specific parameters

Be verbose about the progress
Skip the five second countdown sequence
Will return memory usage and runtime of the respective script execution.


This documentation page applies to all SMW versions from 2.5.0 to the most current version.

Help:RebuildFulltextSearchTable.php en 2.5.0