Overview
Combines vector (semantic) search with graph-structural scoring into a single ranked result set. The final score is a weighted blend:hybrid_search degrades gracefully to pure vector search — identical to search_code.
Parameters
Example
When to use
Notes
- Index the graph first with
index_graphto unlock the graph component; without it, results are identical tosearch_code - Average ~3,324 tokens per result set (~87% reduction vs raw file reads)
- Average latency ~76ms
- Tune
alphatoward0.0to weight structural connectivity more heavily; toward1.0for pure semantic relevance
