Skip to content

Commit

Permalink
Adding information running script in OpenSearch (opensearch-project#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]>
Signed-off-by: [email protected] <[email protected]>
  • Loading branch information
leanneeliatra and Naarcha-AWS committed Jul 24, 2024
1 parent 33bcb98 commit e7255e5
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 e7255e5

Please sign in to comment.