Migrating groovy syntax to painless syntax - Elastic search 8.9

47 Views Asked by At

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;
0

There are 0 best solutions below