# More advanced spripting in elasticsearch

**URL:** <https://discuss.elastic.co/t/more-advanced-spripting-in-elasticsearch/22486>\
**Category:** Elasticsearch\
**Created:** [March 3, 2015, 12:10pm UTC](https://discuss.elastic.co/t/more-advanced-spripting-in-elasticsearch/22486 "2015-03-03T12:10:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakub\_Stransky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jakub_stransky/32/732_2.png) [@Jakub\_Stransky](https://discuss.elastic.co/u/Jakub_Stransky)\
**Post date:** [March 3, 2015, 12:10pm UTC](https://discuss.elastic.co/t/more-advanced-spripting-in-elasticsearch/22486/1 "2015-03-03T12:10:54Z")

</div>

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/d1e2609b-f64c-48fd-b000-dfa0bf1ff368%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:28am UTC](https://discuss.elastic.co/t/more-advanced-spripting-in-elasticsearch/22486/2 "2017-07-06T00:28:55Z")

</div>

Closed on July 6, 2017, 12:28am UTC


