Fix queries in cross-cluster search docs

This commit fixes two queries in the cross-cluster search docs; they
were missing the query object wrapping the actual query.

Relates #25282
This commit is contained in:
Jason Tedor 2017-06-16 21:14:34 -04:00
parent 21b1db2965
commit fde6f72cb5
1 changed files with 4 additions and 0 deletions

View File

@ -107,7 +107,9 @@ separated by a `:` character:
-------------------------------------------------- --------------------------------------------------
POST /cluster_one:twitter/tweet/_search POST /cluster_one:twitter/tweet/_search
{ {
"query": {
"match_all": {} "match_all": {}
}
} }
-------------------------------------------------- --------------------------------------------------
// CONSOLE // CONSOLE
@ -120,7 +122,9 @@ clusters:
-------------------------------------------------- --------------------------------------------------
POST /cluster_one:twitter,twitter/tweet/_search POST /cluster_one:twitter,twitter/tweet/_search
{ {
"query": {
"match_all": {} "match_all": {}
}
} }
-------------------------------------------------- --------------------------------------------------
// CONSOLE // CONSOLE