Skip to content

Commit

Permalink
Adding information running script in OpenSearch (#7397)
Browse files Browse the repository at this point in the history
* adding one liner to explain script can be defined with source or id

Signed-off-by: [email protected] <[email protected]>

* Update _api-reference/document-apis/bulk.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>

---------

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
(cherry picked from commit 4fc1c43)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Naarcha-AWS committed Jun 26, 2024
1 parent 9a8ed1e commit 9377677
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 9377677

Please sign in to comment.