mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Provide the scroll parameter to keep the scroll open (#14776)
Without this, a new scroll_id will not be provided for subsequent requests Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
f30eefc2d1
commit
f24b2e2d86
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export function scrollSearchApi(server) {
|
|||
handler: (req, reply) => {
|
||||
const { callWithRequest } = server.plugins.elasticsearch.getCluster('admin');
|
||||
const { scrollId } = req.payload;
|
||||
return callWithRequest(req, 'scroll', { scrollId })
|
||||
return callWithRequest(req, 'scroll', { scrollId, scroll: '1m' })
|
||||
.then(reply)
|
||||
.catch(error => reply(handleESError(error)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue