$smwgFulltextDeferredUpdate

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgFulltextDeferredUpdate
Description Sets the number of expected full-text search index updates
Default setting
true
Software Semantic MediaWiki
Since version
Until version still available
Configuration Full-text search · Experimental
Keyword full-text search · data store · relational database · sql store · sql database · job queue · deferred update · experimental


$smwgFulltextDeferredUpdate is a configuration parameter that sets the number of expected updates for the index table of the full-text search thus allowing to throttle it. It was introduced in Semantic MediaWiki 2.5.0.1

It can be of advantage to postpone the index update using a deferred job execution to decouple changes to the storage back-end and the full-text index table. In case this configuration setting and the $smwgEnabledDeferredUpdate configuration parameter are both set to "true", i.e. enabled then the updater will try to open a new process for posting instructions to execute the "SearchTableUpdateJob" immediately otherwise it will be added to the job queue and MediaWiki's "runJobs.php" maintenance script is required to perform it.

If a user wants to avoid the job queue being used for performing updates via "SearchTableUpdateJob" then this setting can be disabled by changing the setting to "false".

Important noteImportant Note: The "rebuildFulltextSearchTable.php" maintenance script has to be run after changing the setting of this configuration parameter.
NoteNote: This setting only takes effect if the full-text search feature was enabled.

See also[edit]

References

  1. ^  |  Semantic MediaWiki: GitHub pull request gh:smw:1481