pub fn search_notes(query: &str) -> Result<Vec<Note>, String>
Search notes by text or tag (case-insensitive substring match).