Skip to content

Commit 1b14702

Browse files
committed
Remove mention of params and lang on update action payload (#21365)
Both `params` and `lang` are properties on the object assigned to the `script` property on the payload, not top level properties themselves. Remove the mention of them for clarity. Add link to update documentation. (cherry picked from commit 85ce6c0)
1 parent 8820f12 commit 1b14702

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/reference/docs/bulk.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ the action itself (not in the extra payload line), to specify how many
183183
times an update should be retried in the case of a version conflict.
184184

185185
The `update` action payload, supports the following options: `doc`
186-
(partial document), `upsert`, `doc_as_upsert`, `script`, `params` (for
187-
script), `lang` (for script) and `fields`. See update documentation for details on
186+
(partial document), `upsert`, `doc_as_upsert`, `script` and `fields`. See <<docs-update,update>> documentation for details on
188187
the options. Curl example with update actions:
189188

190189
[source,js]

0 commit comments

Comments
 (0)