Normalizing the source filtering params of get_source with the rest of the API

This commit is contained in:
Boaz Leskes
2013-10-11 12:30:22 +02:00
parent 5b36475197
commit f72e6488ee
+1 -1
View File
@@ -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):
"""