Select a category on the left, to get your answers quickly
Get Global Search working in Moodle LMS using the mighty power of OpenSolr
No servers? No problem. OpenSolr gives you a fully hosted Solr instance so you can focus on what matters — teaching, not taming Java demons.
Before Moodle and OpenSolr can become besties, you’ll need:
moodle_index./your/moodle/path/search/engine/solr/schema.xml
Go to:
Site administration > Plugins > Search > Solr
Now fill in the juicy bits:
| Moodle Field | What to Enter |
|---|---|
| Hostname | The OpenSolr host (e.g., search.opensolr.com) |
| Port | Usually 443 if using HTTPS |
| Index name | The name of your OpenSolr index (e.g., moodle_index) |
| Username | Your OpenSolr username |
| Password | Your OpenSolr password |
| Use SSL | Yes (you should!) |
Click Save changes, and Moodle will try to handshake with Solr like two polite British gentlemen.
Site administration > Search > Index dataIf your cron is still on vacation:
php admin/tool/task/cli/schedule_task.php --execute=\core\task\search_index_task
Now Moodle's search box is powered by OpenSolr — lightning fast, globally scalable, and no server maintenance nightmares.
If Moodle search was a sleepy librarian before, now it's a caffeinated research assistant.
Need help? Holler at: [email protected]