Help:Special:SemanticMediaWiki/Full-text search rebuild

This page describes the full-text search rebuild function accessible via special page "SemanticMediaWiki". It is located in its "Data repair and update" section and allows to rebuild the search index for the full-text search feature.

By default all users who are administrators (user group "sysop") or Semantic MediaWiki administrators (user group "smwadministrator") may use this feature. This feature can be disabled by removing the  constant from configuration parameter. See the linked help page for information on how this is done.

Usage
To initiate the rebuild of the full-text search index the button labeled "Schedule full-text rebuild" provided in the "Full-text search rebuild" subsection of the "Data repair and update" section on the "SemanticMediaWiki" special page has to be clicked. After doing so the highlighted system message "A full-text search rebuild job has been queued." appears to indicate that the rebuild job has been queued into MediaWiki's job queue.

Once scheduled, the rebuild job takes time varying from wiki to wiki. The more properties are used on the wiki the longer this process will take. Also the number of jobs already existing in the queue prior to initiating this rebuild job has to be taken into account since jobs are treated first in, first out. Thus the job will be served faster if many people use your wiki.

The button labeled "Schedule full-text rebuild" is shown again once the full-text search rebuild job was completed.

Note
The work on the job queue which is governed by MediaWiki is also influenced by it's configuration setting  in conjunction with configuration setting. Alternatively if configuration setting  is set to " " a cron job for MediaWiki's maintenance script "runJobs.php" will have to be set up by the wiki's system operator to ensure that the job queue is being worked on in due time. This is the recommended approach though it is preferable in this case to disable the function described on this page and run maintenance script "rebuildFulltextSearchTable.php" directly.