elasticsearch/elasticsearch — pull request #4453 by martijnvg (2013-12-16 08:57:20+00:00)
Title: Replace `ignore_indices` with `ignore_unavailable`, `expand_wildcards` and `allow_no_indices`

.* `ignore_unavailable` - Controls whether to ignore if any specified indices are unavailable, this includes indices
that don't exist or closed indices. Either `true` or `false` can be specified.
* `allow_no_indices` - Controls whether to fail if a wildcard indices expressions results into no concrete indices.
Either `true` or `false` can be specified. For example if the wildcard expression `foo*` is specified and no indices
are available that start with `foo` then depending on this setting the request will fail. This setting is also applicable
when `_all`, `*` or no index has been specified.
* `expand_wildcards` - Controls to what kind of concrete indices wildcard indices expression expand to. If `open` is
specified then the wildcard expression if expanded to only open indices and if `closed` is specified then the wildcard expression if expanded only to closed indices. Also both values (`open,closed`) can be specified to expand to all indices.

There're a number of apis that support multiple indices, but didn't support the `ignore_indices` option. I haven't cut these apis over to the new indices options. I'll do that after this PR gets in. The following apis don't support for the new indices options yet: delete index, delete mapping, delete warmer, index exists, get indices settings, put index settings, put mappings and put warmer apis

Relates to #4436