updated source filtering tests and spec
Fixed id tests to be strings. Changed the _source_* param of get_source as they have changed in core.
This commit is contained in:
@@ -200,7 +200,7 @@ class Elasticsearch(object):
|
|||||||
params=params)
|
params=params)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@query_params('_source_exclude', '_source_include', 'parent', 'preference',
|
@query_params('exclude', 'include', 'parent', 'preference',
|
||||||
'realtime', 'refresh', 'routing')
|
'realtime', 'refresh', 'routing')
|
||||||
def get_source(self, index, id, doc_type='_all', params=None):
|
def get_source(self, index, id, doc_type='_all', params=None):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Submodule test_elasticsearch/rest-api-spec updated: 6050b839f4...8c07d51040
Reference in New Issue
Block a user