Status: | effective |
Progress: | 100% |
Version: | 3.2.0+ |
Help:Maintenance script rebuildFulltextSearchTable.php
(Redirected from Help:RebuildFulltextSearchTable.php)
MediaWiki file: Maintenance script rebuildFulltextSearchTable.php | |
---|---|
Location: | /maintenance/ |
Source code: | script rebuildFulltextSearchTable.php master • script rebuildFulltextSearchTable.php 1.41.1 • script rebuildFulltextSearchTable.php 1.40.3 • script rebuildFulltextSearchTable.php 1.39.7 |
Classes: | script rebuildFulltextSearchTable.php Find code • script rebuildFulltextSearchTable.php Find documentation |
maintenance script rebuilds the database table used for the full-text search feature. The maintenance script was introduced in Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki1 and currently only works if configuration parameter $smwgDefaultStore
Sets the storage backend to be used for the semantic data is set to SMWSQLStore3
(= default setting) and here only for MySQL/MariaDB1 and SQLite2, i.e. PostgreSQL3 and SPARQL stores are currently not supported. Note that this script enforces an five second countdown period prior to its actual execution.
Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki brought an improved client output to this maintenance script.4
Usage
php rebuildFulltextSearchTable.php [--v|--quick|--optimize|--report-runtime|--with-maintenance-log]
Parameters
Maintenance scripts provide generic maintenance parameters, script dependent parameters and depending on the maintenance script script specific parameters which are described on this page if provided.
- Script specific parameters
Parameter | Description |
---|---|
--v
|
Be verbose about the progress5 |
--quick
|
Skip the five second countdown sequence5 |
--optimize
|
Run possible table optimization67 |
--report-runtime
|
Return memory usage and runtime of the respective script execution1 |
--with-maintenance-log
|
Add a log entry to "Special:Logs" on the wiki and report the script's runtime8
File:OOjs UI icon lightbulb-yellow.svg <translate> Note:</translate> If you are using this parameter make sure that MediaWiki's configuration parameter |
Examples
References
- a b c gh:smw:1481
- ^ gh:smw:1801
- ^ gh:smw:1956
- ^ gh:smw:4553
- a b gh:smw:1763
- ^ gh:smw:2120
- ^ | Optimizing InnoDB Full-Text Indexes notları "Running OPTIMIZE TABLE on a table with a full-text index rebuilds the full-text index, removing deleted Document IDs and consolidating multiple entries for the same word, where possible."
- ^ gh:smw:1764
- ^ gh:smw:1983
- ^ gh:smw:1985