# Search engine

Its keys, indexes, tasks and why one failed, copies of its data, its settings, and updates that keep your data.

When the search engine (technical name: Meilisearch) is installed on a server, its menu gets **Search engine**. Managing it is part of the **Pro** and **Business** plans. On Starter an installed search engine keeps running, and its page still shows its state with start, stop and remove.

The top of the page shows whether it runs, its version and the one Fuzops offers, its address, the address apps on the server use, the memory and disk it uses, and its log.

## Keys

- **The master key** opens everything. Owners and Admins, and Developers when the team allows it, can show it once. Never during a support session.
- **Make a new master key…** replaces it after you type the server's name. Every other key changes value too, so each app that searches here needs its new key.
- **Make the key** creates a key for an app: search only (for a website), search and add documents (for the app that fills the index), or everything. Choose the indexes it may use, or `*` for all. Its value is shown once; Fuzops does not keep it.
- A key can be deleted from its row.

## Indexes

Each index shows its documents, its size, when it last changed and whether it is indexing now. **Delete this index…** deletes it and its documents after you type its name.

## What it is working on

The tasks waiting, the last ones done, and the ones that failed, with the search engine's own explanation, for example a document whose identifier is not valid.

## Copies of its data

**Make a dump** exports every index, key and setting into one file that any later version can import. **Make a snapshot** is a faster copy for the same version. Both are kept on the server and listed with their size.

## Settings

- **Mode**: **Live** for real sites, or **Testing**, which shows a search preview page to anyone who opens the address.
- **Memory for indexing**: Fuzops suggests a value from the memory the server can really use; `0` lets the search engine choose.

The search engine restarts with the new settings; if it does not start, the previous ones come back. Earlier settings can be put back.

## Updates

Between versions, the search engine needs its data exported and imported again. **Update** does exactly that: it exports every index first, keeps the data folder aside, starts the new version with the export, and compares the number of indexes and documents. If anything differs or the new version does not start, the previous version and its data come back. Searches pause while it runs.
