# Partially updating existing document using PHP client?

**URL:** <https://discuss.elastic.co/t/partially-updating-existing-document-using-php-client/17256>\
**Category:** Elasticsearch\
**Created:** [April 29, 2014, 11:01am UTC](https://discuss.elastic.co/t/partially-updating-existing-document-using-php-client/17256 "2014-04-29T11:01:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yz1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yz1/32/1611_2.png) [@Yz1](https://discuss.elastic.co/u/Yz1)\
**Post date:** [April 29, 2014, 11:01am UTC](https://discuss.elastic.co/t/partially-updating-existing-document-using-php-client/17256/1 "2014-04-29T11:01:16Z")

</div>

I've read the document of elasticsearch-php but didn't find any API for  
updating existing document.  
Is there any PHP api corresponding to docs-update[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html)  
?

--  
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/addcb07c-2c99-42f8-9a93-aba9160fa513%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/addcb07c-2c99-42f8-9a93-aba9160fa513%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Yz1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yz1/32/1611_2.png) [@Yz1](https://discuss.elastic.co/u/Yz1)\
**Post date:** [April 29, 2014, 11:46am UTC](https://discuss.elastic.co/t/partially-updating-existing-document-using-php-client/17256/2 "2014-04-29T11:46:55Z")

</div>

Sorry, I found the update method in the source code of Elasticsearch-php .  
Problem solved!

On Tuesday, April 29, 2014 7:01:16 PM UTC+8, Yz wrote:

> I've read the document of elasticsearch-php but didn't find any API for  
> updating existing document.  
> Is there any PHP api corresponding to docs-update[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html)  
> ?

--  
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/7bcf4347-53ea-4b7e-9a99-e394f92e0a81%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7bcf4347-53ea-4b7e-9a99-e394f92e0a81%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, 1:32am UTC](https://discuss.elastic.co/t/partially-updating-existing-document-using-php-client/17256/3 "2017-07-06T01:32:48Z")

</div>


