# Batchly update docs in ES?

**URL:** <https://discuss.elastic.co/t/batchly-update-docs-in-es/13322>\
**Category:** Elasticsearch\
**Created:** [August 25, 2013, 7:20am UTC](https://discuss.elastic.co/t/batchly-update-docs-in-es/13322 "2013-08-25T07:20:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymond\_Wang](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Raymond\_Wang](https://discuss.elastic.co/u/Raymond_Wang)\
**Post date:** [August 25, 2013, 7:20am UTC](https://discuss.elastic.co/t/batchly-update-docs-in-es/13322/1 "2013-08-25T07:20:44Z")

</div>

is it possible to update some docs batchly according to some query  
condition?

I know, we can update a single doc by id.

so how about batchly update?

thanks~~~

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Benjamin\_Deveze](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benjamin_deveze/32/1577_2.png) [@Benjamin\_Deveze](https://discuss.elastic.co/u/Benjamin_Deveze)\
**Post date:** [August 25, 2013, 10:53am UTC](https://discuss.elastic.co/t/batchly-update-docs-in-es/13322/2 "2013-08-25T10:53:26Z")

</div>

Hi Raymond,

Waiting for this feature to be officially added to ES you can use this  
update by query plugin:

> **[GitHub - yakaz/elasticsearch-action-updatebyquery: ElasticSearch Update By...](https://github.com/yakaz/elasticsearch-action-updatebyquery/)**
>
> ElasticSearch Update By Query action plugin. Contribute to yakaz/elasticsearch-action-updatebyquery development by creating an account on GitHub.

It is based on the work of Martijn van Groningen. For more information have  
a look here: [https://github.com/elasticsearch/elasticsearch/issues/1607](https://github.com/elasticsearch/elasticsearch/issues/1607).

Hope it helps.

On Sunday, August 25, 2013 9:20:44 AM UTC+2, Raymond Wang wrote:

> is it possible to update some docs batchly according to some query  
> condition?
> 
> I know, we can update a single doc by id.
> 
> so how about batchly update?
> 
> thanks~~~

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Raymond\_Wang](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Raymond\_Wang](https://discuss.elastic.co/u/Raymond_Wang)\
**Post date:** [August 25, 2013, 1:39pm UTC](https://discuss.elastic.co/t/batchly-update-docs-in-es/13322/3 "2013-08-25T13:39:27Z")

</div>

Thanks a lot~~~

It saved me so much time.

On Sun, Aug 25, 2013 at 6:53 PM, Benjamin Devèze  
[benjamin.deveze@gmail.com](mailto:benjamin.deveze@gmail.com)wrote:

> Hi Raymond,
> 
> Waiting for this feature to be officially added to ES you can use this  
> update by query plugin:  
> [GitHub - yakaz/elasticsearch-action-updatebyquery: ElasticSearch Update By Query action plugin](https://github.com/yakaz/elasticsearch-action-updatebyquery/)
> 
> It is based on the work of Martijn van Groningen. For more information  
> have a look here:  
> [https://github.com/elasticsearch/elasticsearch/issues/1607](https://github.com/elasticsearch/elasticsearch/issues/1607).
> 
> Hope it helps.
> 
> On Sunday, August 25, 2013 9:20:44 AM UTC+2, Raymond Wang wrote:
> 
> > is it possible to update some docs batchly according to some query  
> > condition?
> > 
> > I know, we can update a single doc by id.
> > 
> > so how about batchly update?
> > 
> > thanks~~~
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/cYiXTZwpiV0/unsubscribe](https://groups.google.com/d/topic/elasticsearch/cYiXTZwpiV0/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--

Best Regards  
rmn190

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:19am UTC](https://discuss.elastic.co/t/batchly-update-docs-in-es/13322/4 "2017-07-06T02:19:52Z")

</div>


