Repository navigation
Performance Fix
Default Search Mode Changed to Keyword
Due to qmd's architecture limitations, Semantic search is inherently slow (~20s per query).
Benchmark Results:
| Mode | Speed | Why |
|---|---|---|
| Keyword | 0.25s | No AI models, pure BM25 |
| Semantic | ~20s | Loads 2GB models from disk each query |
| Hybrid | ~30s+ | Loads 3 models, may crash |
Why This Happens
Unlike Omnisearch which keeps models in memory, qmd runs as a CLI tool that loads models fresh for each search.
Recommendation
- Use Keyword for fast, exact text matching
- Use Semantic only when you need conceptual search (and can wait)
- Avoid Hybrid (unstable on some systems)