diff --git a/docs/_examples/msearch.asciidoc b/docs/_examples/msearch.asciidoc index 52a7bab9b..21c49cbcc 100644 --- a/docs/_examples/msearch.asciidoc +++ b/docs/_examples/msearch.asciidoc @@ -4,7 +4,7 @@ client.msearch({ body: [ // match all query, on all indices and types - {} + {}, { query: { match_all: {} } }, // query_string query, on index/mytype diff --git a/docs/api_methods.asciidoc b/docs/api_methods.asciidoc index 28da437b5..baa015563 100644 --- a/docs/api_methods.asciidoc +++ b/docs/api_methods.asciidoc @@ -1216,7 +1216,7 @@ The default method is `POST` and the usual <