Add new field into an array

I wanna add a new field into my product mapping.
below is my mapping:
{
"mappings": {
"properties": {
"name": {
"type": "text",
"fields": {
"keyword": {"type": "keyword"}
}
},
"resslers": {
"type": "nested",
"properties": {
"resller": {
"type": "text"
},
"prix": {
"type": "integer"
}
}
}
}
}
}

I wanna add a field called product inside the array "reselers" that take the "prix" and the "ressller" field.

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