Update Nested field


(Andreas Bakopoulos) #1

Hello,

I need to update all documents where a nested field of them has a certain value.

The structure of the nested filed is the following:

"categories": {
"type": "nested",
"properties": {
"description": {
"type": "text"
},
"displayName": {
"type": "text"
},
"id": {
"type": "keyword"
}
}
}

For example, how can I update the displayName of the category with id 1?

Thank you


(system) #2

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