From 8b7c7190f13c9857c362d2c481beb973f6a27830 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Tue, 24 Sep 2013 19:17:45 +0200 Subject: [PATCH] doc fix --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index f0aaaff5..d4edadc6 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -33,7 +33,7 @@ Example Usage res = es.get(index="test-index", doc_type='tweet', id=1) print(res['_source']) - es.refresh(index="test-index") + es.indices.refresh(index="test-index") res = es.search(index="test-index", body={"query": {"match_all": {}}}) print("Got %d Hits:" % res['hits']['total'])