How to update fields in nested document without script

Hi all,

Is there a way to update an individual field in a nested document without having to use a script? I have found some answers here, but they all use a painless script in some form. E.g.:

For example, say I have documents that represent user groups. Each group doc has nested docs with all the users of the group. How can I update the name field on one of these users, assuming that I have another field that serves as the unique ID?


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