Skip to content

Commit

Permalink
Adding information running script in OpenSearch (#7397) (#7515)
Browse files Browse the repository at this point in the history
  • Loading branch information
opensearch-trigger-bot[bot] authored Jun 26, 2024
1 parent 4fbb3e3 commit 6cfd5a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _api-reference/document-apis/bulk.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ 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:
You can specify a script for more complex document updates by defining the script with the `source` or `id` from a document:



- Script
```json
Expand Down

0 comments on commit 6cfd5a1

Please sign in to comment.