Update multi fields using "_update_by_query"

I have to update some documents without specifying _id of the doc, update_by_query is the solution for the same, but it allows me to update only 1 field. Below is the update query I am using for single field update-

POST /user/_update_by_query
"query": {
"match": {
"full_name": "John"
"script": {
"lang" :"painless",
"inline": "ctx._source.full_name = 'Kim'"

Is it possible to update multi fields using update_by_query and script? Although Mvel allows it using separator ';' but it is deprecated.

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