mimir_reindex
Rebuild the FTS5 search index to repair drift after direct writes or interrupted archives, stopping archived entities from surfacing in recall.
Instructions
Rebuild the FTS5 search index from the entities table. Repairs index drift — e.g. after a direct SQLite write, an interrupted archive, or a legacy database written before the atomic prune/forget fixes — so archived entities stop surfacing in recall/search. Returns the number of entities reindexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reindexed | No | Number of non-archived entities indexed into FTS5 |