Search
Open the Search panel with Ctrl+F (⌘F on macOS). The panel combines full-text and semantic search over your notes.
Source pointers: Search.svelte, commands/search.rs.
Full-text (FTS)
SQLite FTS indexes note text as you save. Keyword-style queries work without an embedding model. After Ctrl+S, FTS updates for that note as part of the save path (Vault & data).
Semantic search
Semantic results use vector embeddings in LanceDB. That path needs:
- Ollama running locally (
http://localhost:11434) - The configured embedding model pulled (default fallback
nomic-embed-text)
Changing the embedding model invalidates the vector index — use the clear + re-index flow in Settings → LLM.
Locked content
Locked vault / folder content is excluded from normal search (and from RAG) until unlocked. Treat ciphertext as absent from results (Privacy & security).
Relationship to chat RAG (“Use notes”)
Search and chat Use notes share the same underlying indexes:
| Surface | Role |
|---|---|
| Ctrl+F Search | You browse FTS + semantic hits yourself |
| Chat → Use notes | The assistant retrieves relevant chunks via RAG and injects them as context |
If Search finds a note but chat does not, check the Use notes toggle, that the note is saved and unlocked, and that Ollama embeddings succeeded (AI assistant).
Quick Switcher vs Search
- Ctrl+P — Quick Switcher: fuzzy jump by title only.
- Ctrl+F — Search: body + semantic retrieval.