Search and the search index
What it does
List search uses Pimcore's Generic Data Index (on OpenSearch or Elasticsearch) when the project has it and it is up to date. Searches then forgive small typos, match word beginnings and show the best matches first. Otherwise Keel searches the database. What editors notice, and when each is used: Search & the search index.
Default
auto: the index when it is installed and up to date, else the database.
Options
| Key | Default | What it does |
|---|---|---|
search.index | auto | auto: use the index when it is installed and up to date. off: always search the database. |
search.max_queue | 1000 | When more changes than this wait to be indexed, the index counts as out of date and the database is used |
Example
keel:
search:
index: auto
max_queue: 5000 # a big nightly import fills the queue: keep using the index
Set index: off if the index is installed for something else and you do not want Keel to use it. It also hides the Generic Data Index is not installed line of keel:setup --check.
If results look wrong
The index may be behind or incomplete. Rebuild it with bin/console generic-data-index:update:index -r, and see the waiting changes with bin/console generic-data-index:status. Meanwhile Keel uses the database when the queue is longer than max_queue.
What admins change in Customize
Nothing.