From b1cb09ba8f9f9489c2785e2f3d7eb10b8e7a5ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sun, 13 Sep 2015 21:06:22 +0200 Subject: [PATCH] Better docstring for search_shards --- elasticsearch/client/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index 0efc9dc8..175037b4 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -536,8 +536,10 @@ class Elasticsearch(object): out issues or planning optimizations with routing and shard preferences. ``_ - :arg index: The name of the index - :arg doc_type: The type of the document + :arg index: A comma-separated list of index names to search; use `_all` + or empty string to perform the operation on all indices + :arg doc_type: A comma-separated list of document types to search; leave + empty to perform the operation on all types :arg allow_no_indices: Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)