I am using the doc_as_upsert to update my document if it already exists, for example
{
"doc": {
"apple": "new_name",
"test_list": [
{
"value": "first value group 1",
"value_set": {
"name": "set 1"
}
},
{
"value": "first value group 2",
"value_set": {
"name": "set 2"
}
}
]
},
"doc_as_upsert": true
}
That works, now if I send
{
"doc": {
"apple": "new_name",
"test_list": [
{
"value": "first value group 1",
"value_set": {
"name": "set 1"
}
},
{
"value": "first value group 2"
}
]
},
"doc_as_upsert": true
}
It removes the second value sent from the record (I sent nothing). It is possible to keep that intact in the index?
Thanks
Grant