Skip to content

Commit 0aac8c9

Browse files
h2rifxdgear
authored andcommitted
Update index.rst (elastic#771)
1 parent c505e53 commit 0aac8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Example Usage
6464
'timestamp': datetime.now(),
6565
}
6666
res = es.index(index="test-index", doc_type='tweet', id=1, body=doc)
67-
print(res['created'])
67+
print(res['result'])
6868

6969
res = es.get(index="test-index", doc_type='tweet', id=1)
7070
print(res['_source'])

0 commit comments

Comments
 (0)