diff --git a/_api-reference/document-apis/bulk.md b/_api-reference/document-apis/bulk.md index ed791960c8..a020fc459d 100644 --- a/_api-reference/document-apis/bulk.md +++ b/_api-reference/document-apis/bulk.md @@ -124,7 +124,7 @@ All actions support the same metadata: `_index`, `_id`, and `_require_alias`. If { "doc" : { "title": "World War Z" }, "doc_as_upsert": true } ``` - You can specify a script for more complex document updates and define the script with `source` or `id`. + You can specify a script for more complex document updates by defining the script with the `source` or `id` from a document: