Skip to content

FEAT: check for documents updation to feed for re-chunking #1

Open

Description

@ayush00git

The ingest.ts runs without checking if the documents have updated or not, we need a regular updation workflows which only chunks the part of the documents that have updated and no the whole document. We can't rely on git diff for this !

Activity

  1. self-assigned this
    on May 27, 2026
  2. ayush00git commented on May 27, 2026

    @ayush00git
    OwnerAuthor

    Document updation changes were optimized in PR #2 through the built-in method of llamaindex DocStoreStrategy.UPSERT_AND_DELETE, but the boundary-shift problem still remains a bottleneck to our optimization, now we'll use CDC strategies to fix that.
    boundary-shift problem -
    Imagine splitting a book into chapters of exactly 50 pages each. If someone inserts a single paragraph on page 2, every "chapter" after it shifts by a paragraph — so all of your 50-page boundaries now fall in different places, and the system thinks the whole book is new, even though only one paragraph changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions