Thanks for the reply.
Suppose following is my code:
from elasticsearch import Elasticsearch
es = Elasticsearch()
WRITE TO ES Test application
doc = {
'user': 'adityap_test',
'message': 'Testing testing222',
'postDate': datetime(2013, 01, 06, 10, 25, 10)
}
res = es.index(index="index_p", doc_type='table_p', id=1, body=doc)
This code would store my data in index -> index_p and doc->table_p and id -> 1
Now if i want to update my "Message" field by eg.: Testing testing333. I can use the same command and replace the id completely with new fields. But is there an update command as there is "index" command ?