tantivy-cli icon indicating copy to clipboard operation
tantivy-cli copied to clipboard

Question: is it possible to remove or update a document from the index?

Open brunobord opened this issue 8 months ago • 0 comments

Hi there,

Apparently there's no way to remove a document from the index. Also, it looks like if you "push" an updated version of your document, it's indexed along with the previous one... making some sort of a duplicate.

It's probably because there's no way to give a unique identifier to a document, which I assume is by design. So there's no way to say: "replace this record" for example.

But as a consequence, if I want to remove or update an entry of my "document database", the only way I see is to rebuild the index from scratch. Is there another way? If not, do you think it's worth trying to add this feature?

brunobord avatar Jun 13 '24 12:06 brunobord