refresh_search_index
Update or rebuild the local search index so message search reflects changes, including edits to older messages. Use it to prebuild a large history or force a full reindex.
Instructions
Update the local search index, and report on it.
search_messages keeps this current on its own, so calling this is
optional. It is useful for warming the index deliberately — the first
build on a large history decodes every message and takes a while — and for
forcing a full rebuild.
Args: rebuild: Discard the index and decode every message again. Needed only to pick up edits to messages older than the recent-edit window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rebuild | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| added | No | ||
| built | No | ||
| rebuilt | No | ||
| removed | No | ||
| scanned | No | ||
| seconds | No | ||
| updated | No | ||
| built_at | No | ||
| watermark | No | ||
| index_bytes | No | ||
| indexed_messages | No |