Hybrid search: FTS5 keyword + embedding semantic, merged with Reciprocal Rank Fusion.
Full-text search with prefix matching, BM25 ranking. Finds exact terms instantly.
bge-small-zh per-turn vectors. Finds conceptually related content even with different wording.
Reciprocal Rank Fusion combines both rankings. Best of both worlds, no tuning needed.
| Method | How | Best for |
|---|---|---|
/ in list | Real-time text filter in current list | Quick narrowing by visible text |
s in list | Hybrid search (FTS5 + embedding) | Semantic search, cross-language |
kiro-session search | CLI hybrid search | Scripting, piping, --json output |
Combine with search to narrow results further.
| Filter | What it matches | Example |
|---|---|---|
--file <path> | Files touched in the session | --file Dockerfile |
--cmd <command> | Commands run during the session | --cmd docker |
--dir <directory> | Working directory | --dir api |
--recent <duration> | Last updated within | --recent 7d |
BAAI/bge-small-zh-v1.5 via fastembed. ~90MB model, auto-downloaded on first use. No API key needed.
Chinese + English. Search "容器部署" and find sessions about Docker deployment.
Per-turn vectors pre-computed during enrichment. Search is just cosine similarity — milliseconds.