Skip to content

Commit 4080934

Browse files
fateleifxdgear
authored andcommitted
Support terminate_after for count api. (elastic#754)
1 parent c4a0a54 commit 4080934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ def delete(self, index, doc_type, id, params=None):
10661066

10671067
@query_params('allow_no_indices', 'analyze_wildcard', 'analyzer',
10681068
'default_operator', 'df', 'expand_wildcards', 'ignore_unavailable',
1069-
'lenient', 'min_score', 'preference', 'q', 'routing')
1069+
'lenient', 'min_score', 'preference', 'q', 'routing', 'terminate_after')
10701070
def count(self, index=None, doc_type=None, body=None, params=None):
10711071
"""
10721072
Execute a query and get the number of matches for that query.

0 commit comments

Comments
 (0)