Possibility to delete all documents in an index without deleting and recreating the index
You should provide a possibility to delete all documents in an index without having to delete it and creating it again.
This would be helpful, when we are resetting data in different sprint and system test environments
This is such a simple and useful feature, cannot believe after two years, it is still not implemented.
We need this for security and compliance - deleting the index and recreating it causes a scenario in production whereby the index may not always exist when a new document needs to be inserted into it.
At least with a delete all, it will delete all the existing documents and either create an exclusive lock to pause new inserts or allow inserts which are held in a separate transaction.
Adam Bull commented
Any progress on this?