Document the ctx._now variable in the update API

Relates to #20835
This commit is contained in:
Clinton Gormley 2016-10-11 13:13:03 +02:00
parent 5b5306ea82
commit 82e2f6e747
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ POST test/type1/1/_update
In addition to `_source`, the following variables are available through
the `ctx` map: `_index`, `_type`, `_id`, `_version`, `_routing`,
`_parent`.
`_parent`, and `_now` (the current timestamp).
We can also add a new field to the document: