IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Indices Query
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Indices Query
editSee 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 |