Skip to content

Feat/delete by term#25

Merged
nyo16 merged 3 commits intomasterfrom
feat/delete-by-term
Apr 28, 2026
Merged

Feat/delete by term#25
nyo16 merged 3 commits intomasterfrom
feat/delete-by-term

Conversation

@nyo16
Copy link
Copy Markdown
Owner

@nyo16 nyo16 commented Apr 28, 2026

No description provided.

Adds Muninn.IndexWriter.delete_term/3 (and matching writer_delete_term
NIF) that marks all documents containing a (field, value) pair as
deleted. The delete becomes visible to searches after the next commit.

Supports text, u64, i64, and bool fields. f64 not supported because
Tantivy lacks a stable term encoding for floats.

Enables the delete-then-re-add pattern for incremental index refresh —
critical for consumers that want to update individual documents without
rebuilding the whole index.
@nyo16 nyo16 merged commit 18c0bde into master Apr 28, 2026
0 of 3 checks passed
@nyo16 nyo16 deleted the feat/delete-by-term branch April 28, 2026 01:04
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