pub fn find_sessions_filtered(
pattern: &str,
workspace_filter: Option<&str>,
title_only: bool,
search_content: bool,
after: Option<&str>,
before: Option<&str>,
limit: usize,
) -> Result<()>Expand description
Optimized session search with filtering
This function is optimized for speed by:
- Filtering workspaces first (by name/path)
- Filtering by file modification date before reading content
- Only parsing JSON when needed
- Content search is opt-in (expensive)
- Parallel file scanning with rayon