fix example
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ Example Usage
|
||||
'timestamp': datetime(2010, 10, 10, 10, 10, 10)
|
||||
}
|
||||
res = es.index(index="test-index", doc_type='tweet', id=1, body=doc)
|
||||
print(res['ok'])
|
||||
print(res['created'])
|
||||
|
||||
res = es.get(index="test-index", doc_type='tweet', id=1)
|
||||
print(res['_source'])
|
||||
|
||||
Reference in New Issue
Block a user