Skip to main content

semantic_search

Function semantic_search 

Source
pub fn semantic_search(
    ctx: &Context,
    query: &str,
    limit: usize,
) -> Vec<(String, f64)>
Expand description

Semantic search is an optional ranking signal. Returning an empty result on transport/config errors lets hybrid search degrade to lexical/graph sources instead of failing the whole user query.