i got no success and no responses from anybody.. im still clueless on this one.. is this a bug?
thanks On Tue, Nov 11, 2014 at 4:23 PM, Girish Sastry <[email protected]> wrote: > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/be091030-13a6-4d65-a360-7e37b13c1b34%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/be091030-13a6-4d65-a360-7e37b13c1b34%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAHau4ysB75RG6ML%3DEt0KsVZfqmdTs6T%3DFrKW4hDEa5HgtLkp%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
