You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
Indices Queryedit
See Indices Query
// Using another query when no match for the main one QueryBuilder qb = indicesQuery( termQuery("tag", "wow"),"index1", "index2"
) .noMatchQuery(termQuery("tag", "kow"));
query to be executed on selected indices | |
selected indices | |
query to be executed on non matching indices |