I'm using the Go SDK to update data in Elasticsearch, but strangely, via the SDK it doesn't update a specific field, via the http client it works correctly sometimes:
POST test/type1/123/_update
{
"doc": {
"asset": {
"type": "material",
"quality": "hd",
"Qualidade": 3,
"product_id": "6a49a4fe-731c-4039-afcc-3f955c0a8987"
}
}
}
This updates the asset field, sometimes it does not update, even when modifying the values
the asset field looks like this in the mapping:
"asset": {
"type": "object"
},