You're using some kind of PowerShell script that tries to emulate curl but doesn't support all options. This question has come up before and I believe there was a way to get PowerShell to send a DELETE request instead.
I don't know anything about PowerShell but I can't imagine it's difficult to find out how to make DELETE requests with Invoke-WebRequest. Over and out.
This seems to work perfectly. Thank you very much.
But is the Invoke-WebRequest is alternative for "curl"?
Sorry if this is a stupid question.
Also I need to know, whether the deleted index be removed from all the nodes for a request if it is stashed in multiple nodes. Are all the shards be removed for a 'delete'?
But is the Invoke-WebRequest is alternative for "curl"?
curl is just an HTTP client. Invoke-WebRequest might not be capable of everything curl can do (and vice versa) but their feature sets should be similar.
Also I need to know, whether the deleted index be removed from all the nodes for a request if it is stashed in multiple nodes.
Yes.
Are all the shards be removed for a 'delete'?
Yes. There's no point in keeping a subset of the shards.
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.