I'm also running into this issue. Is this expected behavior for `ignoreUnavailable`?
On Wednesday, July 9, 2014 12:54:32 AM UTC-7, T Vinod Gupta wrote: > > Hi, > Im on ES 1.2.1 and the below usage is not working for me. even if i pass > the option of ignoring unavailable or closed indices, i get an error > response (ClusterBlockException[blocked by: [FORBIDDEN/4/index closed];]). > Is my usage wrong? > > IndicesOptions indicesOptions = IndicesOptions.fromOptions(true, true, > false, false); > MultiSearchRequestBuilder multiSearchRequestBuilder = > > client.prepareMultiSearch().setIndicesOptions(indicesOptions); > SearchRequestBuilder searchRequestBuilder = > > client.prepareSearch(...).setIndicesOptions(indicesOptions); > multiSearchRequestBuilder = > > multiSearchRequestBuilder.add(searchRequestBuilder); > MultiSearchResponse multiSearchResponse = > multiSearchRequestBuilder.execute().actionGet(); > > this is the multi search response in the debugger - > multiSearchResponse = > (org.elasticsearch.action.search.MultiSearchResponse) { > "responses" : [ { > "error" : "ClusterBlockException[blocked by: [FORBIDDEN/4/index > closed];]" > } ] > } > > 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/be091030-13a6-4d65-a360-7e37b13c1b34%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.