Simon Willnauer 37ca38df3d Expose ctx._now in update scripts (#20835)
Update scripts might want to update the documents `_timestamp` but need a notion of `now()`.
Painless doesn't support any notion of now() since it would make scripts non-pure functions. Yet,
in the update case this is a valid value and we can pass it with the context together to allow the
script to record the timestamp the document was updated.

Relates to #17895
2016-10-10 21:14:14 +02:00
..
2016-06-11 13:23:17 -04:00
2016-05-23 16:39:52 -07:00