Most APIs that refer to an index
parameter support execution across multiple indices,
using simple test1,test2,test3
notation (or _all
for all indices). It also
supports wildcards, for example: test*
or *test
or te*t
or *test*
, and the
ability to "exclude" (-
), for example: test*,-test3
.
All multi indices APIs support the following url query string parameters:
|
Controls whether to ignore if any specified indices are unavailable,
including indices that don’t exist or closed indices. Either |
|
Controls whether to fail if a wildcard indices expression results in no
concrete indices. Either |
|
Controls what kind of concrete indices that wildcard indices expressions can expand
to. If If |
The defaults settings for the above parameters depend on the API being used.
Single index APIs such as the Document APIs and the
single-index alias
APIs do not support multiple indices.