From c9f21c3c4f26c1f02a9b86e9e3dcd81a21d85800 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Wed, 9 Oct 2013 10:12:35 +0200 Subject: [PATCH] Update the docstring for get_source to match reality --- elasticsearch/client/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index cdacb2fb..c53ac9f6 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -211,9 +211,9 @@ class Elasticsearch(object): :arg doc_type: The type of the document (uses `_all` by default to fetch the first document matching the ID across all types) :arg id: The document ID - :arg _source_exclude: A list of fields to exclude from the returned + :arg exclude: A list of fields to exclude from the returned _source field - :arg _source_include: A list of fields to extract and return from the + :arg include: A list of fields to extract and return from the _source field :arg parent: The ID of the parent document :arg preference: Specify the node or shard the operation should be