Skip to main content

index_file

Function index_file 

Source
pub fn index_file(conn: &Connection, path: &str, content: &str) -> Result<()>
Expand description

Index a memory file into the SQLite DB (BM25). Removes existing chunks for this path before re-indexing (handles overwrite).