The syntax below mentioned is written in Groovy at the time of 2.3 elastic and now the same syntax has to be migrated to painless 8.9 elastic. Could someone help me with the same in the painless script?
ctx._source.bid=bid;
ctx._source.aid=aid;
ctx._source.aname=aname;