Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,200 of 9,200 pages
About the help in other languages
All help pages

Module 4: Solr and ezfind

The fourth module of the Search course, installing ezfind and a Solr server, exp:solr and the Solr settings, indexing with Solr, and relevance, elevation and facets. Four lessons, 2 hours 10 minutes.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/search/module-04-solr-and-ezfind/README.md

On this page

Module 4: Solr and ezfind

This module moves a training installation from the built-in engine to Solr through the ezfind extension, and teaches what changes: the installation steps, the two Solr settings blocks and the exp:solr command, indexing and commits, and the levers that decide what comes first in the results.

At a glance

CourseSearch
Duration2 hours 10 minutes (four lessons)
Lessons4
LevelAdvanced
FormatHands-on; two terminals and the administration on the learner's own training installation

Lessons

LessonDurationWhat learners do
4.1 Installing ezfind and a Solr server35 minAdd, activate and set up ezfind; start the bundled Solr
4.2 exp:solr and the Solr settings30 minConfigure [SolrSettings], compare it with [SolrBase], check with status and ping
4.3 Indexing with Solr30 minBuild the Solr index, read commit settings, find the extension's cronjob parts
4.4 Relevance, elevation and facets35 minBoost a class, elevate an object for a query, undo both

Preparing this module

  • One training installation per learner on MySQL or PostgreSQL (exp:install --db=mysql or --db=pgsql, see Installing from the command line): the extension ships no SQLite schema file for its table.
  • Composer and network access to Packagist and GitHub on every machine, or the se7enxweb/ezfind package prepared in advance.
  • A Java runtime that starts the Solr bundled in extension/ezfind/java. The extension's installation notes name the Java version they were written for; rehearse the start on one lab machine with your Java before the class, and have a shared Solr ready as a fallback (then learners set SearchServerURI and Url to it).
  • Enough memory for a Solr process per machine.
  • Rehearse lesson 4.2's exp:solr ping against your lab's Solr.

Timing plan

TimeItem
0:00Lesson 4.1 (35 min)
0:35Lesson 4.2 (30 min)
1:05Lesson 4.3 (30 min)
1:35Lesson 4.4 (35 min)
2:10End of module

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x