You are viewing an old version of this page. Return to the latest version.
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] |
(new instructions from ggeyik) (Tag: 2017 source edit) |
(Tag: Visual edit) |
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 to 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}} 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 to 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. [[en [[de:Setup:Installationsanleitung/Kompendium/ExtendedSearch_Konfiguration]] [[en:{{FULLPAGENAME}}]]
(4 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
*Create a file in this folder and name it ''020-BlueSpiceExtendedSearch.local.php''. | *Create a file in this folder and name it ''020-BlueSpiceExtendedSearch.local.php''. | ||
− | *Put following content | + | *Put the following content in the newly created file. |
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
<?php | <?php | ||
Line 26: | Line 26: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | *Run following scripts to build the search index. | + | *Run the following scripts to build the search index. |
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
php extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick | php extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick | ||
Line 35: | Line 35: | ||
Done! The extended search functionality is now active. | Done! The extended search functionality is now active. | ||
− | [[ | + | |
+ | [[de:Setup:Installationsanleitung/Kompendium/ExtendedSearch_Konfiguration]] | ||
[[en:{{FULLPAGENAME}}]] | [[en:{{FULLPAGENAME}}]] |