Feature Request: Truncate API
Is your feature request related to a problem? Please describe. When implementing and testing features, it's often necessary to delete and recreate data. However, qdrant doesn't have this feature, so the quickest way is to delete the table and then recreate it. However, this is quite cumbersome. It would be nice to have a feature that could solve this problem.
Describe the solution you'd like Add a "truncate" API to remove all data from a specific collection.
Describe alternatives you've considered none
Additional context none
Hey! Thanks for the proposal!
Have you considered delete-by-filter API with empty filter?
It is not really recommended to use in production, as record-by-record deletion might be slow on large scale, but for experimenting it should do the work.
Oh! I didn't know there was an empty filter. Sure, it might not be great for performance, but it might be useful for light use cases.
However, in my case, I often experiment with and delete millions of data units, so it would be nice to have an optimized function.
I understand if you think this is a trivial feature. If you disagree with its necessity, I'll close this issue.