Skip to content

Commit 82e2f6e

Browse files
Document the ctx._now variable in the update API
Relates to #20835
1 parent 5b5306e commit 82e2f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/docs/update.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ POST test/type1/1/_update
6767

6868
In addition to `_source`, the following variables are available through
6969
the `ctx` map: `_index`, `_type`, `_id`, `_version`, `_routing`,
70-
`_parent`.
70+
`_parent`, and `_now` (the current timestamp).
7171

7272
We can also add a new field to the document:
7373

0 commit comments

Comments
 (0)