Update index.rst (#771)

This commit is contained in:
hari
2018-04-24 11:33:29 -06:00
committed by Nick Lang
parent c505e53f6a
commit 0aac8c9dff
+1 -1
View File
@@ -64,7 +64,7 @@ Example Usage
'timestamp': datetime.now(),
}
res = es.index(index="test-index", doc_type='tweet', id=1, body=doc)
print(res['created'])
print(res['result'])
res = es.get(index="test-index", doc_type='tweet', id=1)
print(res['_source'])