Skip to main content
Keel Docs Showcase

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

KeyDefaultWhat it does
search.indexautoauto: use the index when it is installed and up to date. off: always search the database.
search.max_queue1000When more changes than this wait to be indexed, the index counts as out of date and the database is used

Example

yaml
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.