From f72e6488eee30b68a5064c3946656981890e18b0 Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Fri, 11 Oct 2013 12:29:17 +0200 Subject: [PATCH] Normalizing the source filtering params of get_source with the rest of the API --- elasticsearch/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index c53ac9f6..ab6d5438 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -200,7 +200,7 @@ class Elasticsearch(object): params=params) return data - @query_params('exclude', 'include', 'parent', 'preference', + @query_params('_source_exclude', '_source_include', 'parent', 'preference', 'realtime', 'refresh', 'routing') def get_source(self, index, id, doc_type='_all', params=None): """