why does below two command always get an error respond? saying "variable is not defined". is ti something related to "params"?
note: in this index, _id 124 has a field "age":20
curl -XPOST 'localhost:9200/website/blob/124/_update?pretty' -d '{"script":"ctx._source.age += num", "params" : {"num" : 17}}'
curl -XPOST 'localhost:9200/website/blob/124/_update' -d '{"script":"ctx.op = ctx._source.age == num ? 'delete' : 'none'", "params" : {"num" : 17}}'