From 09a3393b23204556d945221c7ff390cb089f3753 Mon Sep 17 00:00:00 2001 From: spalger Date: Tue, 26 Jan 2016 09:26:23 -0700 Subject: [PATCH] [docs/msearch] fix example --- docs/_examples/msearch.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +---------