I'd like to ask the same question again raised here: What's the benefit of the Update API (POST /_update) vs Index (PUT /_doc).
As far as I can see Update (with doc_as_upsert: true) is identical in effect to Index.
The original answer above suggested that Index did not support partial updates but it does: if you PUT /_doc with only one field in the request BODY it adds that one field to an existing document.
So are the 2 methods (Update with upsert and Index) identical?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.