Skip to content

Release v0.5.0: Hybrid Search, Re-ranking, and Context Savings#29

Merged
dbinky merged 1 commit intomainfrom
dev
Jan 1, 2026
Merged

Release v0.5.0: Hybrid Search, Re-ranking, and Context Savings#29
dbinky merged 1 commit intomainfrom
dev

Conversation

@dbinky
Copy link
Copy Markdown
Owner

@dbinky dbinky commented Jan 1, 2026

Release v0.5.0

This release introduces major improvements to search quality and adds context savings metrics.

New Features

Hybrid Search

  • Combines vector similarity search with FTS5 keyword search
  • Uses Reciprocal Rank Fusion (RRF, k=60) for optimal result merging
  • Configurable via hybrid_search settings in config.yaml

Intelligent Re-ranking

  • Heuristic signals boost results based on:
    • Name matches (query terms in function/class names)
    • Exact phrase matches
    • File path relevance
    • Recency (recently modified files)
    • Code structure awareness

Enhanced Output

  • --verbose flag: Shows detailed match reasons and score breakdown
  • --metrics flag: Shows context savings vs grep baseline

New CLI Flags

  • --verbose / -v: Detailed match information
  • --metrics: Context savings metrics
  • --no-hybrid: Disable hybrid search (vector-only)
  • --no-rerank: Disable re-ranking stage

Performance

Token savings benchmark on Pommel codebase (136 files):

  • Pommel: 4,374 tokens for 10 searches
  • Traditional exploration: ~107,000 tokens
  • Savings: 95.9% reduction (24x fewer tokens)

Platform Support

  • macOS (Intel + Apple Silicon)
  • Linux (x64 + ARM64)
  • Windows (x64 + ARM64)

CI Status

All builds and tests pass on all platforms (Go 1.21 + 1.22)


Generated with Claude Code

v0.5.0: Hybrid Search, Re-ranking, and Context Savings Metrics

Features:
- Hybrid search (vector + FTS5 keyword with RRF)
- Intelligent re-ranking with heuristic signals
- --verbose flag for match reasons
- --metrics flag for context savings

Token savings: 95.9% reduction vs traditional exploration
@dbinky dbinky merged commit 556c507 into main Jan 1, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant