$smwgEnabledFulltextSearch

From Linux Web Expert


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgEnabledFulltextSearch
Description Sets whether full-text search support for properties may be used
Default setting false
(Other) available settings
true

Allows to enable full-text search for properties

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 · experimental


__NOBREADCRUMBLINKS__

$smwgEnabledFulltextSearch is a configuration parameter that sets whether full-text search support may be used. It is specific to a relational data store and currently supports MySQL/MariaDB1 and SQLite2 while PostgreSQL34 is currently not supported. It was introduced in Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki.1

Using the feature connected to this configuration parameter is considered experimental!

Default setting

$smwgEnabledFulltextSearch = false;

This means that full-text search support is not available.

Changing the default setting

Maintenance script "rebuildFulltextSearchTable.php"No description was provided. has to be run after enabling this feature. Also set up a cron job to regularity run this maintenance script for best full-text search experience.

To modify this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:

Enable the full-text search feature
$smwgEnabledFulltextSearch = true;

This means that full-text search support is available. The wiki will now store text elements using a separate table in order for the relational back-end to use special full-text index operations.

See also

General information
Related configuration parameters

References

  1. a b gh:smw:1481 
  2. ^ gh:smw:1801 
  3. ^ gh:smw:1956 
  4. ^  |  PostgreSQL, farklı bir dizin şeması nedeniyle desteklenmiyor (ör. to_tsvector, to_tsquery) ancak bunu kullanıma sunmak isteyen kullanıcıların, PostgreSQL'e özgü bir uygulamanın nasıl oluşturulacağıyla ilgili "MySQLValueMatchConditionBuilder" ile bir göz atmaları önerilir.