diff --git a/docs/_examples/msearch.asciidoc b/docs/_examples/msearch.asciidoc index 1785f958a..3c798f5d1 100644 --- a/docs/_examples/msearch.asciidoc +++ b/docs/_examples/msearch.asciidoc @@ -8,8 +8,8 @@ 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"' } } } ] }); ---------- \ No newline at end of file +---------