MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
Install solr and global search
1. MOODLEMOOT AUSTRALIA 2016
MOODLEMOOT AUSTRALIA 2016 - PERTH 27th
- 29th
SEPTEMBER
Presented by David Monllao, Integrator and Senior Analyst
Developer
Install Solr and Global Search
2. MOODLEMOOT AUSTRALIA 2016
● Available from Moodle 3.1 onwards
● What is it?
○ A new Search engine plugin type
■ To store Moodle sites’ contents
○ A new Search API
■ So Moodle components can add stuff to
search engines
○ A UI to search the search engine contents
Global Search
3. MOODLEMOOT AUSTRALIA 2016
● Open source search platform
● Part of The Apache Software Foundation
● Scalable
Solr
4. MOODLEMOOT AUSTRALIA 2016
● Install the PECL extension
○ https://pecl.php.net/package/solr
● Restart your web server :)
https://docs.moodle.org/31/en/Global_search#How_to_install_Solr
Solr PHP extension
5. MOODLEMOOT AUSTRALIA 2016
# Download solr latest stable version.
wget http://apache.mirror.serversaustralia.com.au/lucene/solr/6.2.1/solr-6.2.1.tgz
tar -xvzf solr-6.2.1.tgz
cd solr-6.2.1
# Start solr server.
bin/solr start
# Create an index to store your Moodle site contents.
bin/solr create -c mootau16index
Solr server