Rebuild Local FTS Index
fts_rebuildRebuild the full-text search index from cached INBOX and Sent messages. Use after mailbox changes or stale search results.
Instructions
Clear the local FTS5 index and rebuild it from the messages currently cached by the analytics layer (INBOX + Sent). Intended for use after major mailbox changes or when fts_search returns stale results. Returns the number of messages indexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indexed | No | ||
| messageCount | No | ||
| dbPath | No |