From fdbdb705b9e776352b6a52ab2d3c55be108b4eca Mon Sep 17 00:00:00 2001 From: David Pilato Date: Mon, 27 Jan 2014 11:22:27 +0100 Subject: [PATCH] Revert mget yaml test changes Relative to #4892 --- rest-api-spec/api/mget.json | 4 ---- rest-api-spec/test/mget/55_source.yaml | 27 -------------------------- 2 files changed, 31 deletions(-) delete mode 100644 rest-api-spec/test/mget/55_source.yaml diff --git a/rest-api-spec/api/mget.json b/rest-api-spec/api/mget.json index 98e331f19df..4e112f6287c 100644 --- a/rest-api-spec/api/mget.json +++ b/rest-api-spec/api/mget.json @@ -32,10 +32,6 @@ "type" : "boolean", "description" : "Refresh the shard containing the document before performing the operation" }, - "source": { - "type" : "string", - "description" : "The URL-encoded request definition using the Query DSL (instead of using request body)" - }, "_source": { "type" : "list", "description" : "True or false to return the _source field or not, or a list of fields to return" diff --git a/rest-api-spec/test/mget/55_source.yaml b/rest-api-spec/test/mget/55_source.yaml deleted file mode 100644 index f4d999f1d9f..00000000000 --- a/rest-api-spec/test/mget/55_source.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -"Source": - - - do: - indices.create: - index: test_1 - - do: - cluster.health: - wait_for_status: yellow - - - do: - index: - index: test_1 - type: test - id: 1 - body: { foo: bar } - - - do: - mget: - index: test_1 - type: test - source: "{\"ids\":[\"1\"]}" - - - is_true: docs.0.found - - match: { docs.0._index: test_1 } - - match: { docs.0._type: test } - - match: { docs.0._id: "1" }