Update by query, field.keyword doens't updated!

I made an update by query and my field props.eventTypeTraduction, however the props.eventTypeTraductio.keyword with the old value still exists. If you execute a query with the old value it still keeps bringing the records. How do I update the props.eventTypeTraductio.keyword?

I executed:
POST /dash_raw_measurement_discarded/_update_by_query { "query": { "term": { "props.eventTypeTraduction.keyword": { "value": "Jitter (SCM7)" } } }, "script": { "inline": "ctx._source[params.field] = params.value;", "params": { "field": "props.eventTypeTraduction", "value": "Jitter" } } }

But when I look for the old value, it still exists in the keyword.
GET /dash_raw_measurement_discarded/_search { "query": { "term": { "props.eventTypeTraduction.keyword": { "value": "Jitter (SCM7)" } } } }
Result:
{ "took": 3, "timed_out": false, "_shards": { "total": 5, "successful": 5, "skipped": 0, "failed": 0 }, "hits": { "total": 31080, "max_score": 0.8503687,

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