tantivy-cli
tantivy-cli copied to clipboard
Question: is it possible to remove or update a document from the index?
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?