pub fn load_cached_index(root: &Path, model_repo: &str) -> Option<HybridIndex>Expand description
Load a pre-built index from the disk cache without re-embedding.
This is the lightweight read path for processes that don’t own the index
(e.g., the LSP process reading caches built by the MCP process).
Returns None if no compatible cache exists for this root.
Uses an advisory file lock on manifest.lock to avoid reading
a half-written cache.