WARNING: Version 1.3 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Most APIs that refer to an
index parameter support execution across multiple indices,
test1,test2,test3 notation (or
_all for all indices). It also
support wildcards, for example:
test*, and the ability to "add" (
and "remove" (
-), for example:
All multi indices API support the following url query string parameters:
Controls whether to ignore if any specified indices are unavailable, this
includes indices that don’t exist or closed indices. Either
falsecan be specified.
Controls whether to fail if a wildcard indices expressions results into no
concrete indices. Either
falsecan be specified. For example if the wildcard expression
foo*is specified and no indices are available that start with
foothen depending on this setting the request will fail. This setting is also applicable when
*or no index has been specified.
Controls to what kind of concrete indices wildcard indices expression expand
openis specified then the wildcard expression is expanded to only open indices and if
closedis specified then the wildcard expression is expanded only to closed indices. Also both values (
open,closed) can be specified to expand to all indices.
The defaults settings for the above parameters depend on the api being used.