feat(bd-1ksf): wire hybrid search (FTS5 + vector + RRF) to CLI

Make run_search async, replace hardcoded lexical mode with SearchMode::parse(),
wire search_hybrid() with OllamaClient for semantic/hybrid modes, graceful
degradation when Ollama unavailable.

Closes: bd-1ksf
This commit is contained in:
teernisse
2026-02-12 11:34:10 -05:00
parent 47eecce8e9
commit ecbfef537a
2 changed files with 55 additions and 42 deletions

View File

@@ -1778,7 +1778,8 @@ async fn handle_search(
fts_mode,
&args.mode,
explain,
)?;
)
.await?;
let elapsed_ms = start.elapsed().as_millis() as u64;
if robot_mode {