-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to clear all documents from a collection without dropping the collection and schema #28
Comments
cc: @njausteve |
Hi @shijithkjayan good idea. I'll circle back in couple of days and will let you know the progress. I'm replying here just to acknowledge the request. Thanks! |
Hi @shijithkjayan. I'm not sure if you saw this thread: typesense/typesense#1613 TLDR on that thread:
workaround
I may have to update the What do you think? |
Hi @jaeyson its indeed what I am doing right now. I drop a collection and then recreate it without any of the documents. I see that typesense itself doesn't support clearing an index and is suggesting a workaround. I am just wondering if you could add the logic for this in the library so those who use your library don't have to do it. And yes, I like the idea of using a filter to delete multiple documents together. Would be great if you could incorporate that also. |
Hi @shijithkjayan kindly check this PR #33, specifically |
Hi,
I would like to request a feature to clear all documents from a collection without dropping the collection and its schema. This can be useful in scenarios where we want to reset the data in a collection but retain the schema for future use.
The text was updated successfully, but these errors were encountered: