Can anyone please give me pointers on how to delete all records of an index using the head plugin of the elastic search?
What we usually do is form the query like
http://ElasticSearchServerURL/entities/entityName/uniqueIdentifierOfRecord
and then select DELETE from the GET/PUT/POST/DELETE drop down.
Now I want to delete all records of a particular entityName.
I tried referring to Elastic search delete operation and https://www.elastic.co/guide/en/elasticsearch/guide/current/_deleting_an_index.html but these do not resolve my issue, since this is not how we do it in the Head plug-in. I also tried to find documentation but all I could find was some curl queries, which I again do not know how to use.
Any pointers will be of great help.