pub fn set_thread_cache(cache: Arc<Mutex<Option<Bm25CacheEntry>>>)
Set the shared BM25 cache for the current thread (called from the registered handler).