gszr / gszr/ChatNotes

Incremental search indexing for large workspaces

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.rsbuild_search_index (lines ~430-464)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in crates/core/src/lib.rs at build_search_index, around lines 430-464, and trace how conversations and notes are discovered and refreshed. Determine how changes can be identified before choosing an incremental approach. Done means refreshes re-index only changed conversations or notes instead of rescanning the entire workspace.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.