# Retry a specific batch of results when scrolling a search

**URL:** https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813
**Category:** Elasticsearch
**Created:** [July 27, 2017, 2:24pm UTC](https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813 "2017-07-27T14:24:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alesola](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@alesola](https://discuss.elastic.co/u/alesola)
#### Post date: [July 27, 2017, 2:24pm UTC](https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813/1 "2017-07-27T14:24:21Z")

</div>

Hello,  
is there a way to ask twice ElasticSearch for the same batch of results when scrolling a search?

In this scenario, Elastic has properly returned the batch of results but something has failed into the client and a retry would be desired.

Thanks¡¡

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [July 27, 2017, 2:54pm UTC](https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813/2 "2017-07-27T14:54:14Z")

</div>

No. It's not possible with Scroll API.

But may be you could achieve something similar with [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-request-search-after.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-request-search-after.html)

---

<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: [August 24, 2017, 2:54pm UTC](https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813/3 "2017-08-24T14:54:36Z")

</div>

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