pub async fn run_with_index(
config: FileSearchConfig,
index_cache: &FileIndexCache,
) -> Result<FileSearchResults>Expand description
Run fuzzy file search using a pre-computed file index.
This is much faster than run() for repeated queries on the same
directory because it avoids re-traversing the filesystem.
§Arguments
config- File search configurationindex_cache- Shared cache for the pre-computed file index
§Returns
FileSearchResults containing matched files and total match count.