elasticsearch/elasticsearch — Issue #1492: Query DSL: indices query to allow to set a `no_match_query`
Author: kimchy
Created: 2011-11-23 17:00:57+00:00
State: open
Labels: enhancement, v0.18.5, v0.19.0

The `indices` query will execute the query provided if it executes on an index matching the listed indices, and a `match_all` if the index does not match the listed indices.

Add `no_match_query` field, can be set to `all` for `match_all`, `none` for not matching on any docs, or a full query.