From 1e52c17d1ae4c2dd0d4c74b58b0380e7224b414f Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Tue, 8 Oct 2013 18:18:20 +0200 Subject: [PATCH] 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. --- elasticsearch/client/__init__.py | 2 +- test_elasticsearch/rest-api-spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index 2f572381..cdacb2fb 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -200,7 +200,7 @@ class Elasticsearch(object): params=params) return data - @query_params('_source_exclude', '_source_include', 'parent', 'preference', + @query_params('exclude', 'include', 'parent', 'preference', 'realtime', 'refresh', 'routing') def get_source(self, index, id, doc_type='_all', params=None): """ diff --git a/test_elasticsearch/rest-api-spec b/test_elasticsearch/rest-api-spec index 6050b839..8c07d510 160000 --- a/test_elasticsearch/rest-api-spec +++ b/test_elasticsearch/rest-api-spec @@ -1 +1 @@ -Subproject commit 6050b839f450448f5bbb7aad44b08acb7a9f7a58 +Subproject commit 8c07d51040ba3bda4a9de6a5fde38c27385e6c6b