Finding out what change triggered the non-noop in an update?


(Tim Heckel) #1

Hi all -- I was quite happy when the noop flag was introduced in ES 5. I'm wondering if there are any plans to surface not only whether the action was a noop, but in the cases where noop: false, also surface what data changes occurred? I imagine this must be known at the time the noop flag is produced, but am wondering whether anyone has requested this feature?

9/19/2018 - just a bump. Any thoughts, anyone?

Thanks!
Tim


(Alexander Reelsen) #2

Hey,

right now there is no such functionality, as the check is a simple bool during merging.

See https://github.com/elastic/elasticsearch/blob/master/server/src/main/java/org/elasticsearch/action/update/UpdateHelper.java#L210

--Alex


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.