# Scroll setting on reindex task

**URL:** https://discuss.elastic.co/t/scroll-setting-on-reindex-task/200500
**Category:** Elasticsearch
**Created:** [September 20, 2019, 10:08pm UTC](https://discuss.elastic.co/t/scroll-setting-on-reindex-task/200500 "2019-09-20T22:08:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![viniciof](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/viniciof/32/53454_2.png) [@viniciof](https://discuss.elastic.co/u/viniciof)
#### Post date: [September 20, 2019, 10:08pm UTC](https://discuss.elastic.co/t/scroll-setting-on-reindex-task/200500/1 "2019-09-20T22:08:37Z")

</div>

Hi all,

I'm looking at this doc: [Scroll | Elasticsearch Reference [5.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/search-request-scroll.html)

> ## Scroll
> 
> While a `search` request returns a single “page” of results, the `scroll` API can be used to retrieve large numbers of results (or even all results) from a single search request, in much the same way as you would use a cursor on a traditional database.
> 
> Scrolling is not intended for real time user requests, but rather for processing large amounts of data, e.g. in order to reindex the contents of one index into a new index with a different configuration.

It says scroll timeout can be changed for reindexing a lot of data. But I don't see any example showing how to change this param using Reindex API - I guess is the only way to "reindex" an index right ?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 18, 2019, 10:08pm UTC](https://discuss.elastic.co/t/scroll-setting-on-reindex-task/200500/2 "2019-10-18T22:08:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
