Merge remote-tracking branch 'pr/267'
This commit is contained in:
@@ -47,3 +47,4 @@ Xiuming Chen <[email protected]>
|
|||||||
David Szotten <[email protected]>
|
David Szotten <[email protected]>
|
||||||
Jorgen Jorgensen <[email protected]>
|
Jorgen Jorgensen <[email protected]>
|
||||||
Jason Veatch <[email protected]>
|
Jason Veatch <[email protected]>
|
||||||
|
Daniel <[email protected]>
|
||||||
|
|||||||
@@ -743,7 +743,7 @@ class Elasticsearch(object):
|
|||||||
if doc_type and not index:
|
if doc_type and not index:
|
||||||
index = '_all'
|
index = '_all'
|
||||||
|
|
||||||
_, data = self.transport.perform_request('POST', _make_path(index,
|
_, data = self.transport.perform_request('GET', _make_path(index,
|
||||||
doc_type, '_count'), params=params, body=body)
|
doc_type, '_count'), params=params, body=body)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user