Basic docs for search_exists

This commit is contained in:
Honza Král
2015-04-27 21:08:33 +02:00
parent a531967153
commit 9f9dc210f4
+2
View File
@@ -1196,6 +1196,8 @@ class Elasticsearch(object):
'min_score', 'preference', 'routing', 'source')
def search_exists(self, index=None, doc_type=None, body=None, params=None):
"""
The exists API allows to easily determine if any matching documents
exist for a provided query.
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/search-exists.html>`_
:arg index: A comma-separated list of indices to restrict the results