From 1d93b9e458ea6b288934dc750b83d92b76041f73 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Mon, 4 Mar 2019 15:12:26 +0100 Subject: [PATCH] Index on rollup.rollup_search.json is a list (#39097) And not a string since it accepts comma separated list of indices. (cherry picked from commit cf34d50b3a983b5fc0c9c7aa279cecd4aa10e28b) --- .../resources/rest-api-spec/api/rollup.rollup_search.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json index 826f97aa15a03..5a63dfa3b42aa 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json @@ -7,9 +7,9 @@ "paths": [ "{index}/_rollup_search", "{index}/{type}/_rollup_search" ], "parts": { "index": { - "type": "string", + "type": "list", "required": true, - "description": "The index or index-pattern (containing rollup or regular data) that should be searched" + "description": "The indices or index-pattern(s) (containing rollup or regular data) that should be searched" }, "type": { "type": "string",