Search
SwarmVault builds a SQLite FTS (Full-Text Search) index over all wiki pages during compilation.
How It Works
- During
compile, all wiki pages are indexed intostate/search.sqlite - When you run
query, the search index finds relevant pages - Matching pages are passed as context to the LLM provider
- The provider generates an answer grounded in your wiki content
Search Index
The index is rebuilt on every compilation, ensuring it stays in sync with the wiki content. It supports:
- Full-text search across all page content
- Ranking by relevance
- Fast lookups for the query pipeline
Query Persistence
When using --save with the query command, answers are persisted as wiki output pages in wiki/outputs/, making them searchable in future queries.