Deleting All Documents with Filter_by
TLDR Mischa wants to delete all documents using
id:* filter but encounters issues. Jason suggests a workaround and advises creating a GitHub issue for the desired feature.
May 16, 2023 (7 months ago)
But it seems to leave some records. Any idea why?
id:*actually matches any documents, since wild-cards are not supported like that…
numeric_field>:0assuming there are no negative values
Indexed 3011 threads (79% resolved)
Deleting All Documents in Typesense Collection
Vikas wanted to delete all documents in a typesense collection. Kishore Nallan suggested using a range filter on a numerical field to match and delete the entire dataset.
Deleting Documents from Collection using Specific Ids
Ahmad asked how to delete documents from a collection using specific ids. Jason suggested using the delete by query method and provided related documentation links.
Effective Document Deletion Strategies in Typesense
Adrian asked about deleting potentially non-existent documents. Pantelis suggested using IDs for document deletion or queries within delete function. Adrian decided to use query-based deletions.