diff --git a/docs/index.rst b/docs/index.rst index a9c869fb..ce9554c8 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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'])