From af4e740500726d36a527fad7242666c9f0640760 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Thu, 7 Mar 2019 11:34:01 +0100 Subject: [PATCH] Document scroll param on reindex.json (#38615) The Reindex API also exposes `scroll` as a querystring parameter. --- .../src/main/resources/rest-api-spec/api/reindex.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json index fc701c29d60..e85eadb5bc4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json @@ -30,6 +30,11 @@ "default": 0, "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle." }, + "scroll": { + "type" : "time", + "description" : "Control how long to keep the search context alive", + "default" : "5m" + }, "slices": { "type": "number", "default": 1,