Skip to main content

write_search_table

Function write_search_table 

Source
pub async fn write_search_table(
    uri: &str,
    rows: &[(GlobalSymbolId, String, Vec<f32>)],
) -> Result<u64, Error>
Expand description

Write the denormalized retrieval table (symbol_id, text, vector) and build a native BM25 full-text index on text. Hybrid search then fuses this FTS index with vector search using LanceDB’s own RRF reranker — no hand-rolled BM25.