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:
parent
fd98f7abc2
commit
e3a0c11239
|
@ -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 **/} },
|
||||||
// ...
|
// ...
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue