Search Methods
| Method | When Used | Requires API Key |
|---|---|---|
bm25 | Keyword-focused queries | No |
embedding | Semantic/conceptual queries | Yes |
hybrid | Best of both (default) | Partial — falls back to BM25 |
BM25+ Improvements
- Stopword removal — cleaner term matching
- Phrase detection — multi-word terms kept together
- Adaptive b parameter — adjusts to corpus length variance
- Positive IDF floor — common terms still contribute (BM25+ variant)
- Query term weighting — rare terms get more weight
Boosts
| Boost | Factor | Condition |
|---|---|---|
| Recency | 1.3x | Within 7 days |
| Decision | 1.4x | Type = decision |
| Feature | 1.2x | Type = feature |