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

Module 2: Indexing

The second module of the Search course, indexing at publish, delayed indexing with the indexcontent cronjob, rebuilding the whole index, and choosing searchable attributes. Four lessons, 2 hours.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/search/module-02-indexing/README.md

On this page

Module 2: Indexing

A search can only find what is in its index. This module follows content into the index: at publish, through the delayed-indexing queue and its cronjob, in a full rebuild, and through the class setting that decides which fields are indexed at all.

At a glance

CourseSearch
Duration2 hours (four lessons)
Lessons4
LevelIntermediate
FormatHands-on; administration and terminal on the learner's own training installation

Lessons

LessonDurationWhat learners do
2.1 Indexing at publish25 minProve that drafts are not found, new versions replace words, moves need no reindex
2.2 Delayed indexing and the indexcontent cronjob35 minSwitch on delayed indexing, watch the queue, run the cronjob, switch it off
2.3 Rebuilding the search index30 minRun updatesearchindex.php with and without --clean and plan it for a live site
2.4 Choosing searchable attributes30 minRead and change the Searchable flag of a class and rebuild

Preparing this module

  • One training installation per learner (lessons 2.2 and 2.4 change settings and a class; never share an installation for this module).
  • A terminal in the installation root for every learner, and the name of the public siteaccess written on the board.
  • Check before the class that DelayedIndexing is disabled (php bin/php/console exp:ini get site.ini/SearchSettings/DelayedIndexing).
  • Rehearse lesson 2.3 once to know how long a rebuild takes on the training content.

Timing plan

TimeItem
0:00Lesson 2.1 (25 min)
0:25Lesson 2.2 (35 min)
1:00Lesson 2.3 (30 min)
1:30Lesson 2.4 (30 min)
2:00End 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