fix example

This commit is contained in:
Ondrej Sika
2014-05-09 18:14:07 +02:00
committed by Honza Král
parent f10d7f2da2
commit 4849fbedb2
+1 -1
View File
@@ -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'])