You are viewing an old version of this page. Return to the latest version.
No categories assigned
ExtendedSearch configuration
-
- Last edited 4 years ago by MLR
-
< Setup:Installation Guide | Advanced
Revision as of 15:19, 25 November 2020 by Mlink-rodrigue (talk | contribs)
Warning: Pages in the namespaces SocialEntity and User are currently indexed by search engines by default. If you run a public wiki, you should exclude these namespaces from being searchable unless you want these pages to be indexed by public search engines.
If the ElasticSearch service is up and running, you can enable BlueSpice Extended Search.
- Go to your BlueSpice install path. For example:
cd /var/www/bluespice
- Go to the folder settings.d:
cd settings.d
- Create a file in this folder and name it 020-BlueSpiceExtendedSearch.local.php.
- Put the following content in the newly created file.
<?php
wfLoadExtension( 'BlueSpiceExtendedSearch' );
$GLOBALS['wgSearchType'] = 'BS\\ExtendedSearch\\MediaWiki\\Backend\\BlueSpiceSearch';
- Go to your BlueSpice install path again. For example:
cd /var/www/bluespice
- Run the following scripts to build the search index.
php extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick
php extensions/BlueSpiceExtendedSearch/maintenance/rebuildIndex.php --quick
php maintenance/runJobs.php
Done! The extended search functionality is now active.