Skip to main content

Module hybrid_search

Module hybrid_search 

Source
Expand description

Handler for the hybrid-search CLI subcommand.

The pipeline runs in stages, one per submodule: [args] parses and validates the flags, [retrieval] produces the vector and FTS5 candidate lists, [fusion] combines them via RRF, [graph_expansion] widens the answer through the entity graph, and [envelope] describes the JSON shape that goes back to the caller.

Structs§

HybridSearchArgs
Arguments for the hybrid-search subcommand.
HybridSearchItem
Hybrid search item.
HybridSearchResponse
Hybrid search response.
Weights
RRF weights used in hybrid search: vec (vector) and fts (text).

Functions§

run
Run.