Fix 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 an example
in the docs that is missing this.

Relates #25742
This commit is contained in:
Glen Smith 2017-07-16 23:17:41 -06:00 committed by Jason Tedor
parent fd98f7abc2
commit e3a0c11239
1 changed files with 2 additions and 2 deletions

View File

@ -220,8 +220,8 @@ Here is the structure of a simulate request against an existing pipeline:
POST _ingest/pipeline/my-pipeline-id/_simulate POST _ingest/pipeline/my-pipeline-id/_simulate
{ {
"docs" : [ "docs" : [
{ /** first document **/ }, { "_source": {/** first document **/} },
{ /** second document **/ }, { "_source": {/** second document **/} },
// ... // ...
] ]
} }