Elasticsearch java update api error

Yeah,that's right,I changed to setScript and it works,thank you for the help.