I couldn't find any example of java native script for upadte API.
I found this one written by @Igor_Motov - https://github.com/imotov/elasticsearch-native-script-example
But then it did not have an example on Update API or reindex API.
Kindly add one that can be used for the same.
This post was flagged by the community and is temporarily hidden.