Previously using ElasticSearch Transport API, I have deleted an index and its data using the below line of program.
DeleteByQueryAction.INSTANCE.newRequestBuilder(client).source(indexName).get();
We are migrated from Transport Client API to HTTP Client API now. Unfortunately this is not supported in ES HighLevel HTTP client API as for as I know. Is there a way to delete an index using HTTP client?
Edited: I am using ES Rest client API version 5.6.4. Deleting an index is available in the latest 6.x versions. I am looking for deleting the index in version 5.6.4. Thanks