The ignore_unavailable option should also ignore indices that are closed

PR for #6471
+1 I'll update the PR.


On 12 June 2014 12:38, Luca Cavanna <notifications@github.com> wrote:

> In src/main/java/org/elasticsearch/cluster/metadata/MetaData.java:
>
> >
> > +    public String[] concreteIndices(IndicesOptions indicesOptions, boolean canFailClosed, String... aliasesOrIndices) throws IndexMissingException, ElasticsearchIllegalArgumentException {
>
> I see your point, on the other hand I think we can have options that are
> part of IndicesOptions although not exposed to users, even if they change
> only depending on the api. That was the direction in #6169
> <https://github.com/elasticsearch/elasticsearch/pull/6169>. It would be
> great if we can keep a single concreteIndices method that knows what to
> do based on the IndicesOptions provided as argument and move this
> canFailClosed flag to IndicesOptions without exposing it to users.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/elasticsearch/elasticsearch/pull/6475/files#r13695415>
> .
>



-- 
Met vriendelijke groet,

Martijn van Groningen