Skip to content

Commit

Permalink
Docs: Fix available update by query operations
Browse files Browse the repository at this point in the history
  • Loading branch information
spinscale committed Jun 7, 2024
1 parent df96199 commit 036dbc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/docs/update-by-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ The update by query operation skips updating the document and increments the `n
Set `ctx.op = "delete"` if your script decides that the document should be deleted.
The update by query operation deletes the document and increments the `deleted` counter.

Update by query only supports `update`, `noop`, and `delete`.
Update by query only supports `index`, `noop`, and `delete`.
Setting `ctx.op` to anything else is an error. Setting any other field in `ctx` is an error.
This API only enables you to modify the source of matching documents, you cannot move them.

Expand Down

0 comments on commit 036dbc5

Please sign in to comment.