Difference between revisions of "Setup:Installation Guide/Advanced/ExtendedSearch Configuration"

[quality revision][quality revision]
(Created page with "{{DISPLAYTITLE:ExtendedSearch configuration}} Before you can use ExtendedSearch in BlueSpice, you have to activate it in your installation: In the BlueSpice installation dir...")
 


Before If the ElasticSearch service is up and running, you can use ExtendedSearch in BlueSpice, you have to activate it in your installation:

In the BlueSpice installation directory, locate the following file inside the folder „var\www\settings.d“:

020-BlueSpiceExtendedSearch.php:
Setup:extendedsearch-config.png

  1. Remove the line containing the „return;“ command and save the file.
  2. Reload the sysstem with a restart or using the command line.

For the command line, go to [BlueSpice installation path]\var\www\maintenance\.

In this directory, execute the command php update.php --quick:

Screenshot:extended search command line

ExtendedSearch is now activated. 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 following content to 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 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

                

Attachments

Discussions