Lesson 3.3: Search, written test
This test closes the Search course. It covers both sides: what editors and visitors do with search, and what administrators run so that search keeps finding new content.
Note
This is the trainer's own assessment, not an official certification. Questions 1 to 5 suit editors; questions 6 to 12 suit administrators and developers.
At a glance
| Course | Assessments and practical exercises |
| Module | Module 3: Assessing the administration courses |
| Duration | 40 minutes (5 briefing, 25 test, 10 going through the answers) |
| Level | Intermediate |
| Audience | Learners at the end of the Search course |
| Prerequisites | The Search course; Lesson 1.2 for the trainer |
Learning objectives
Learners who pass this test have shown that they can:
- narrow a search in the administration and open an item by number or address;
- explain why an existing item is not found;
- explain where the built-in index lives and what delayed indexing changes;
- name the command that rebuilds the index and when to run it;
- describe what Solr through eZ Find adds and what it needs.
Trainer's notes
How to run it
- Hand out the questions without the key; 25 minutes.
- Go through the answers with Searching and Search backends on the projector.
Common questions
We teach only the built-in search. Drop questions 11 and 12, and change the pass mark accordingly.
Is LogSearchStats really a privacy matter? The statistics store every phrase a visitor typed, which can hold
personal data; that is why question 10 is in the test.
Pitfalls
- Wildcards. Learners used to other systems expect
*to work. On the built-in engineEnableWildcardis off as shipped.
The test
- Which key moves the focus to the administration's search field?
- How do you search only below the place you are looking at?
- Which advanced search field limits results to one content type, such as Article?
- You know an item's address on the public site. Where do you type it to open the item in the administration?
- An editor cannot find an item that certainly exists. Give three possible reasons.
- Where does the built-in search engine keep its index?
- What changes when
[SearchSettings] DelayedIndexingisenabled? - On a site with delayed indexing, cron has stopped. What do editors notice?
- After a database import, search results are wrong. Which command rebuilds the index, and what does
--cleando? - Why is
LogSearchStatsoff as shipped? - What does Solr through eZ Find need that the built-in search does not?
- Which command tells you whether a configured Solr answers?
Answers
/, when the focus is not in another field (Searching).- In Search scope, set Where to Current location (Searching).
- Class (Searching).
- In the Content finder below the tree, then Find (Searching).
- Three of: the role hides it, it is in the trash, it is only a draft, the index has not caught up yet (Searching).
- In the site's database (Search backends).
- Publishing only queues the object in
ezpending_actions; the default cron part'sindexcontent.phpindexes it later (Search backends). - New content never appears in search (Search backends).
php bin/php/updatesearchindex.php --clean --allow-root-user;--cleanremoves the old index first (Search backends).- The statistics store every phrase a visitor typed, which can hold personal data (Search backends).
- A Solr server, local or remote, the
ezfindextension, and[SolrSettings]insolr.iniswitched on (Search backends). php bin/php/console exp:solr status(orping) (Search backends).
Scoring
- One point per question; question 5 needs three reasons for the point.
- Pass: 8 of 12 points or more, with question 8 correct.
- Editors only (questions 1 to 5): pass with 4 of 5.
Further reading
- Searching: the editor's side.
- Search backends: engines, indexing and Solr.
- 10.8 Search indexing and image handling.
Related pages
- Lesson 3.4: Search, practical task
- Module 3: Assessing the administration courses
- Assessments and practical exercises: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.