Problem updating field via SDK GO

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"

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