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-08-24 17:26:28 -04:00
2016-09-21 14:45:28 +02:00