Skip to content

feat(store): append documents to existing .mq-db via index command#4

Merged
harehare merged 1 commit into
mainfrom
feat/append-to-existing-db
Jun 4, 2026
Merged

feat(store): append documents to existing .mq-db via index command#4
harehare merged 1 commit into
mainfrom
feat/append-to-existing-db

Conversation

@harehare

@harehare harehare commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Add DocumentStore::append_str / append_file methods that write new block and index pages directly to the open page file and rewrite the catalog in-place, avoiding a full file rebuild.

Update the index CLI command so that when the output file already exists it opens it and appends the new documents rather than overwriting it.

Add DocumentStore::append_str / append_file methods that write new
block and index pages directly to the open page file and rewrite the
catalog in-place, avoiding a full file rebuild.

Update the `index` CLI command so that when the output file already
exists it opens it and appends the new documents rather than
overwriting it.
@harehare harehare merged commit 612f5b4 into main Jun 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant