I'm using Elastic Cloud and I've already searched the Elasticsearch channel, without success. The most relevant post I found there said the solution was to run some sort of delete query, but it was first necessary to download and install some additional software. That's obviously not an option for me given I'm using Elastic Cloud. I tried running the suggested delete query using my Kopf dashboard in the hope that the relevant software was already available on Elastic Cloud, also without success.
Surely if I can delete an entire index and a single document, there's a simple way to bulk delete all documents of a particular type!
It seems that plugins are only available to Cloud Premium customers.
Given that it is possible to delete an index, not being able to delete a type without a plugin seems to be a rather glaring omission in this product.
Providing a solution, but only making it available to premium customers for an additional fee is rather disappointing because it forces me to pay for support that I don't need.
So now I have to delete the whole index, including every type, and replace everything. And to avoid this happening again I will have to set up a separate index for each type, which is not ideal.
A better solution would of course be for Elastic Cloud to either include this particular plugin as standard or expand the existing delete capability to include specified types!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.