From e9dfb2a215c2ed32a94913e05296005add5ffb98 Mon Sep 17 00:00:00 2001 From: Glen Smith Date: Mon, 17 Jul 2017 00:17:42 -0600 Subject: [PATCH] Fix another simulate example in ingest docs When simulating an ingest pipeline against an existing pipeline, the _source field is required to wrap each doc. This commit fixes another example in the docs that is missing this. Relates #25743, relates e3a0c11239c3923f876ecbb310346aadadf1d902 --- docs/reference/ingest/ingest-node.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ingest/ingest-node.asciidoc b/docs/reference/ingest/ingest-node.asciidoc index cce15984c79..6b16b50297d 100644 --- a/docs/reference/ingest/ingest-node.asciidoc +++ b/docs/reference/ingest/ingest-node.asciidoc @@ -205,8 +205,8 @@ POST _ingest/pipeline/_simulate // pipeline definition here }, "docs" : [ - { /** first document **/ }, - { /** second document **/ }, + { "_source": {/** first document **/} }, + { "_source": {/** second document **/} }, // ... ] }