# Elasticsearch Scroll Query

**URL:** <https://discuss.elastic.co/t/elasticsearch-scroll-query/219554>\
**Category:** Elasticsearch\
**Created:** [February 17, 2020, 2:04am UTC](https://discuss.elastic.co/t/elasticsearch-scroll-query/219554 "2020-02-17T02:04:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickyooi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rickyooi/32/61445_2.png) [@rickyooi](https://discuss.elastic.co/u/rickyooi)\
**Post date:** [February 17, 2020, 2:04am UTC](https://discuss.elastic.co/t/elasticsearch-scroll-query/219554/1 "2020-02-17T02:04:25Z")

</div>

```
{ 
    "scroll":"1m", 
    "scroll_id": "ABCDEF......" 
}

```

The "1m" (one minute) refers to the query will only available to be called for 1 minute  
OR  
the query will stay alive for 1 minute whenever it is being called?

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [February 17, 2020, 2:14am UTC](https://discuss.elastic.co/t/elasticsearch-scroll-query/219554/2 "2020-02-17T02:14:59Z")

</div>

You have 1 minute to make the next call for the next n (size) events. Each call extends the timer another minute. The entire process can run hours of course, as long as the calls are at a 1 minute frequency.

---

<div class="post-metadata">

**Author:** ![rickyooi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rickyooi/32/61445_2.png) [@rickyooi](https://discuss.elastic.co/u/rickyooi)\
**Post date:** [February 17, 2020, 2:25am UTC](https://discuss.elastic.co/t/elasticsearch-scroll-query/219554/3 "2020-02-17T02:25:10Z")

</div>

Thank for your explanation.

---

<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:** [March 16, 2020, 2:25am UTC](https://discuss.elastic.co/t/elasticsearch-scroll-query/219554/4 "2020-03-16T02:25:14Z")

</div>

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