More advanced spripting in elasticsearch

Hello,

I am trying to use a scripting support in ES for performing updates. I
wonder if there are some more advanced examples available somewhere. What I
have found so far is pretty simple examples as updating a one field or so.
What I am looking for a multi field update or updating/including complete
sub-structure e.g. entity which was null before and now is completely new
object.

Could someone point me to some resources/examples? That would be really
awesome.

Thanks
Jakub

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d1e2609b-f64c-48fd-b000-dfa0bf1ff368%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.