| 123456789101112131415161718192021222324252627282930 | [[query-dsl-indices-query]]=== Indices QueryThe `indices` query is useful in cases where a search is executed acrossmultiple indices. It allows to specify a list of index names and an innerquery that is only executed for indices matching names on that list.For other indices that are searched, but that don't match entrieson the list, the alternative `no_match_query` is executed.[source,js]--------------------------------------------------GET /_search{    "query": {        "indices" : {            "indices" : ["index1", "index2"],            "query" : { "term" : { "tag" : "wow" } },            "no_match_query" : { "term" : { "tag" : "kow" } }        }    }}--------------------------------------------------// CONSOLE You can use the `index` field to provide a single index.`no_match_query` can also have "string" value of `none` (to match nodocuments), and `all` (to match all). Defaults to `all`.`query` is mandatory, as well as `indices` (or `index`).
 |