Does anyone know how to perform
curl -XDELETE "http://localhost:9200/test_*;"
via JAVA APIs?
I found the way to delete a particular index, but I have multiple indices with a particular prefix and a special event requires me to delete all the indexes with that particular prefix, since the data will be invalid for those indexes.
Any help appreciated.