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:
parent
21b1db2965
commit
fde6f72cb5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue