elasticsearch/elasticsearch — pull request #6169 by javanna (2014-05-14 13:11:00+00:00)
Title: Unified MetaData#concreteIndices methods into a single method that accepts indices (or aliases) and indices options

The goal of this PR is to have a single method in `MetaData` that allows to resolve aliases or indices (eventually containing wildcard expressions) to concrete indices. That way all the apis will just refer to this same new method passing the proper indices options as argument.

In order to achieve that a new internal flag has been added to IndicesOptions, which tells whether aliases can be resolved to multiple indices or not.

Also it's now possible to decide not to expand wildcards at all via indices options, while previously it was possible to decide whether to expand them to open indices, closed indices, or both.