build_search_index in crates/core/src/lib.rs (lines ~430-464) rebuilds the full in-memory index by scanning every conversation and note on each refresh.
Problem
- A full rescan on each refresh does not scale to large workspaces.
Suggested direction
- Implement incremental indexing so only changed conversations/notes are re-indexed, avoiding full rescans.
References
crates/core/src/lib.rs — build_search_index (lines ~430-464)
build_search_indexincrates/core/src/lib.rs(lines ~430-464) rebuilds the full in-memory index by scanning every conversation and note on each refresh.Problem
Suggested direction
References
crates/core/src/lib.rs—build_search_index(lines ~430-464)