diff --git a/docs/_examples/msearch.asciidoc b/docs/_examples/msearch.asciidoc index 21c49cbcc..1785f958a 100644 --- a/docs/_examples/msearch.asciidoc +++ b/docs/_examples/msearch.asciidoc @@ -8,7 +8,7 @@ client.msearch({ { query: { match_all: {} } }, // query_string query, on index/mytype - { index: 'myindex', type: 'mytype' }, + { _index: 'myindex', _type: 'mytype' }, { query: { query_string: { query: '"Test 1"' } } } ] });