# Global iterator

**URL:** <https://discuss.elastic.co/t/global-iterator/15223>\
**Category:** Elasticsearch\
**Created:** [January 13, 2014, 3:29pm UTC](https://discuss.elastic.co/t/global-iterator/15223 "2014-01-13T15:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larry](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larry](https://discuss.elastic.co/u/Larry)\
**Post date:** [January 13, 2014, 3:29pm UTC](https://discuss.elastic.co/t/global-iterator/15223/1 "2014-01-13T15:29:37Z")

</div>

Hello,

I need a way to retrieve the last result that has not been already selected from a request.

It may involves a global iterator.

say I have those datas in the table "world"

"papi"  
"mami"  
"mama"

and I want to retrieve successively only "papi" then next request only "mami" and finally only "mama".

The next request won't enable me to get anything since there are no other results.

How could I do that automatically or with a single server request with elasticsearch ?

Thanks

---

<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:** [July 6, 2017, 1:57am UTC](https://discuss.elastic.co/t/global-iterator/15223/2 "2017-07-06T01:57:08Z")

</div>

Closed on July 6, 2017, 1:57am UTC


