Hi I am running the following code to remove indexes, if there is no index 
with the specified pattern, a shield enabled cluster throws an exception. 
To my opinion I have marked the options in a way that this should not 
happen. If I use the same code on a cluster without shield enabled, 
everything works fine.

        client.admin().indices().prepareDelete(this.index + "*")
                .setIndicesOptions(IndicesOptions.fromOptions(true, true, 
true, false)).get();


Is this an issue with Shield? The user I provide has admin rights.

thanks

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/2a289411-e436-45b6-8f26-1ba8fce38aaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to