Expand description
Multi-source result fusion.
Implements Reciprocal Rank Fusion (RRF) to combine results from text search and semantic search into a unified ranked list.
Formula: score = sum(1 / (k + rank_i)) where k defaults to 60.
Structs§
- Fused
Result - Fused search result combining scores from multiple sources.
Functions§
- fuse_
ast_ only - Fuse only AST pattern search results.
- fuse_
semantic_ only - Fuse only semantic results (used when text search is not applicable).
- fuse_
text_ only - Fuse only text results (used when semantic search is not applicable).
- rrf_
fuse - Perform Reciprocal Rank Fusion (RRF) on multiple result lists.
- rrf_
fuse_ three - Perform three-way RRF fusion across text, semantic, and AST results.