This version is approved.
Difference between revisions of "Setup:Installation Guide/Advanced/ExtendedSearch Configuration"
< Setup:Installation Guide | AdvancedReturn to history page
← Setup:Installation Guide/Advanced/ExtendedSearch Configuration
← Setup:Installation Guide/Advanced/ExtendedSearch Configuration
[quality revision] | [quality revision] |
(Tag: Visual edit) |
(Tag: Visual edit) |
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.
{{DISPLAYTITLE:ExtendedSearch configuration}}{{Box Note|boxtype=warning|Note text=Pages in the namespaces ''SocialEntity'' and ''User'' are currently indexed by search engines by default. If you run a public wiki, you should [https://www.mediawiki.org/wiki/Help:Controlling_search_engine_indexing exclude these namespaces from being searchable] unless you want these pages to be indexed by public search engines.}} If If the [[Setup:Installation Guide/System Preparation/Linux/Elasticsearch|ElasticSearch service is up and running]], you can enable BlueSpice Extended Search. *Go to your BlueSpice install path. For example: <syntaxhighlight lang="batch"> cd /var/www/bluespice </syntaxhighlight> *Go to the folder ''settings.d'': <syntaxhighlight lang="batch"> cd settings.d </syntaxhighlight> *Create a file in this folder and name it ''020-BlueSpiceExtendedSearch.local.php''. *Put the following content in the newly created file. <syntaxhighlight lang="php"> <?php wfLoadExtension( 'BlueSpiceExtendedSearch' ); $GLOBALS['wgSearchType'] = 'BS\\ExtendedSearch\\MediaWiki\\Backend\\BlueSpiceSearch'; </syntaxhighlight> *Go to your BlueSpice install path again. For example: <syntaxhighlight lang="batch"> cd /var/www/bluespice </syntaxhighlight> *Run the following scripts to build the search index. <syntaxhighlight lang="php"> php extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick php extensions/BlueSpiceExtendedSearch/maintenance/rebuildIndex.php --quick php maintenance/runJobs.php </syntaxhighlight> Done! The extended search functionality is now active. [[de:Setup:Installationsanleitung/Kompendium/ExtendedSearch_Konfiguration]] [[en:{{FULLPAGENAME}}]]
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:ExtendedSearch configuration | + | {{DISPLAYTITLE:ExtendedSearch configuration}} |
If the [[Setup:Installation Guide/System Preparation/Linux/Elasticsearch|ElasticSearch service is up and running]], you can enable BlueSpice Extended Search. | If the [[Setup:Installation Guide/System Preparation/Linux/Elasticsearch|ElasticSearch service is up and running]], you can enable BlueSpice Extended Search. |