Installing and upgrading help

Installing Solr for Global Search in Moodle

 
Picture of jonathan lopez
Re: Installing Solr for Global Search in Moodle
 

Hello finally this is the correct way

for moodle versions below 3.5 you can not use solr 7.

Therefore they can perform the following installation from linux.

https://docs.moodle.org/all/en/B%C3%BAsqueda_global#Caracter.C3.ADsticas_de_la_consulta_de_b.C3.BAsqueda_Solr

They must configure the php module of solr and these are the following steps:

1. lower solr.

wget http://www.us.apache.org/dist/lucene/solr/5.5.5/solr-5.5.5.tgz

2. extract the installer.

tar xzf solr-5.5.5.tgz solr-5.5.5 / bin / install_solr_service.sh --strip-components = 2

3. perform the installation

./install_solr_service.sh solr-5.5.5.tgz -f

4. schedule the service to start the daemon.

chkconfig solr on

5. create a symbolic link of the binary

ln -s / opt / solr / bin / solr / usr / bin / solr

6. jump as user solr

your solr

7. create the core container

solr create -c moodle

8. configure it in moodle, port 8983, localhost and moodle in the index.

9. Remember before activating the global search you must execute the following:

php /home/virtual/public_html/admin/tool/task/cli/schedule_task.php --execute = "\ core \ task \ search_index_task"

10. Activate the global search in moodle.

/admin/settings.php?section=optionalsubsystems

11. verify the activation of solr

admin / settings.php? section = manageglobalsearch

12. If everything goes well validate the data:

/report/search/index.php

13. create the cron by pointing to the file search / cli / indexer.php




 
Average of ratings: -