rebuild_search_index
Rebuild the full-text search index to make new or changed PDFs and notes searchable. Use incremental mode for quick top-ups or full mode to reindex everything from scratch.
Instructions
(Re)build the full-text search index used by search_library's
'fulltext' and 'notes' scopes. Indexes every library — personal plus
every group/shared library — by default, so shared libraries become
full-text searchable automatically; pass library_id (see
list_libraries) to index just one. Incremental by default
(full=False): only new or changed PDFs/notes since the last run are
processed, which is fast. Pass full=True to wipe and rebuild
everything from scratch. For a large library, prefer running
python scripts/build_index.py in a terminal the first time, since
that gives you progress output; this tool is best for small
incremental top-ups from within a conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| library_id | No |