# Java api update by query?

**URL:** https://discuss.elastic.co/t/java-api-update-by-query/12758
**Category:** Elasticsearch
**Created:** [July 11, 2013, 2:36pm UTC](https://discuss.elastic.co/t/java-api-update-by-query/12758 "2013-07-11T14:36:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![11125](https://avatars.discourse-cdn.com/v4/letter/1/c2a13f/32.png) [@11125](https://discuss.elastic.co/u/11125)
#### Post date: [July 11, 2013, 2:36pm UTC](https://discuss.elastic.co/t/java-api-update-by-query/12758/1 "2013-07-11T14:36:26Z")

</div>

i want to update documents by query and not by id

--  
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: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [July 11, 2013, 4:20pm UTC](https://discuss.elastic.co/t/java-api-update-by-query/12758/2 "2013-07-11T16:20:45Z")

</div>

Look at:

> <https://github.com/elastic/elasticsearch/pull/2231>

> **[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.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 11 juil. 2013 à 16:36, 李宏力 [lihongli90s@gmail.com](mailto:lihongli90s@gmail.com) a écrit :

> i want to update documents by query and not by id
> 
> --  
> 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:26am UTC](https://discuss.elastic.co/t/java-api-update-by-query/12758/3 "2017-07-06T02:26:57Z")

</div>


