Update indices-query.asciidoc

The current description of the query seemed confusing to some people (e.g. https://twitter.com/wielinde/status/654582620630687744), this is just a proposal to simplify it.
This commit is contained in:
Christoph Büscher 2015-10-23 21:14:52 +02:00
parent 075e382c6d
commit 0362550fd7
1 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
[[query-dsl-indices-query]] [[query-dsl-indices-query]]
=== Indices Query === Indices Query
The `indices` query can be used when executed across multiple indices, The `indices` query is useful in cases where a search is executed across
allowing to have a query that executes only when executed on an index multiple indices. It allows to specify a list of index names and an inner
that matches a specific list of indices, and another query that executes query that is only executed for indices matching names on that list.
when it is executed on an index that does not match the listed indices. For other indices that are searched, but that don't match entries
on the list, the alternative `no_match_query` is exectuted.
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------