Skip to main content

spawn_prepare

Function spawn_prepare 

Source
pub fn spawn_prepare(query: &str, model: Option<&str>) -> JoinHandle<Prepared>
Expand description

Run prepare on a background thread. The caller joins when semantic ranking actually happens; on runs that end fuzzy-only (cold vector cache) the handle is simply dropped and the thread dies with the process.