Add additional attributes to an existing document elasticsearch
问题 How do I add additional attributes to an existing document in Elasticsearch index. $ curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{ "user" : "kimchy", "post_date" : "2009-11-15T14:12:12", "message" : "trying out Elastic Search" }' This would create a document in the index. How do I add an attribute to the document? Suppose "new_attribute":"new_value" which would modify the document as "user" : "kimchy", "post_date" : "2009-11-15T14:12:12", "message" : "trying out Elastic Search"