Skip to content

Commit 20750e9

Browse files
Docs: Fix available update by query operations (#109486) (#109537)
Co-authored-by: Alexander Reelsen <[email protected]>
1 parent d931e4c commit 20750e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/docs/update-by-query.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ The update by query operation skips updating the document and increments the `n
431431
Set `ctx.op = "delete"` if your script decides that the document should be deleted.
432432
The update by query operation deletes the document and increments the `deleted` counter.
433433

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

0 commit comments

Comments
 (0)