Searching Sessions
Lore provides full-text search across all your AI coding sessions.
Basic Search
Section titled “Basic Search”lore search "authentication"Filtering
Section titled “Filtering”# By toollore search "bug fix" --tool claude-code
# By date rangelore search "refactor" --since 2025-12-01 --until 2025-12-15
# By project or branchlore search "api" --project myapplore search "feature" --branch main
# Combine filterslore search "database" --tool aider --project backend --since 2025-12-01Context
Section titled “Context”Show surrounding messages for context:
lore search "error handling" --context 3How It Works
Section titled “How It Works”Search uses SQLite FTS5 (full-text search) to index:
- Message content
- Project names
- Branch names
- Tool names
Results are grouped by session with metadata headers.