-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Update API: Return noop information #9642
Copy link
Copy link
Closed
Labels
:Distributed/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.A catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementhelp wantedadoptmeadoptme
Description
It would be great if we could get an indication in the response of an _update request as to whether the operation was a noop or not.
Currently when passing detect_noop, the response has no indication of whether there was an update or not. In our system we have differing level of denormalization, and it would make life a lot easier if we could understand whether an update caused a change, so we could start updating our denormalized data.
I had a look in the code and it doesn't look like the noop information is being passed into the UpdateResponse instance, so I'm a bit out of my depth on best practice to pass this in and surface it in the response api, but if it's a feature that you'd sign off on then I'm happy to get it done.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.A catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementhelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.