# Scroll repeats

**URL:** <https://discuss.elastic.co/t/scroll-repeats/15619>\
**Category:** Elasticsearch\
**Created:** [February 5, 2014, 2:03pm UTC](https://discuss.elastic.co/t/scroll-repeats/15619 "2014-02-05T14:03:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [February 5, 2014, 2:03pm UTC](https://discuss.elastic.co/t/scroll-repeats/15619/1 "2014-02-05T14:03:22Z")

</div>

Can scroll requests repeat the same document twice? What if the document  
was updated? I know it really isn't the same Lucene document the but I  
sure think of it as the same thing.

Nik

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0MSt3w5jGYTQdT%3DD8OYTXGtO17%2Buo7FV%3DPZxJU8kBS4g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0MSt3w5jGYTQdT%3DD8OYTXGtO17%2Buo7FV%3DPZxJU8kBS4g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [February 5, 2014, 3:43pm UTC](https://discuss.elastic.co/t/scroll-repeats/15619/2 "2014-02-05T15:43:41Z")

</div>

Hi Nik,

Scroll requests operate on a point-in-time view of the index at the time  
when the scroll has been opened. So there can't be duplicates and if a  
document has been updated, Elasticsearch will returned the old version.

On Wed, Feb 5, 2014 at 3:03 PM, Nikolas Everett [nik9000@gmail.com](mailto:nik9000@gmail.com) wrote:

> Can scroll requests repeat the same document twice? What if the document  
> was updated? I know it really isn't the same Lucene document the but I  
> sure think of it as the same thing.
> 
> Nik
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0MSt3w5jGYTQdT%3DD8OYTXGtO17%2Buo7FV%3DPZxJU8kBS4g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0MSt3w5jGYTQdT%3DD8OYTXGtO17%2Buo7FV%3DPZxJU8kBS4g%40mail.gmail.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Adrien Grand

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6UYT9ewXDYGddWKTSVvSMZbohfNnQves0-SG%2B5o79JsQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6UYT9ewXDYGddWKTSVvSMZbohfNnQves0-SG%2B5o79JsQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [February 5, 2014, 5:00pm UTC](https://discuss.elastic.co/t/scroll-repeats/15619/3 "2014-02-05T17:00:44Z")

</div>

Thanks!

On Wed, Feb 5, 2014 at 10:43 AM, Adrien Grand \<  
[adrien.grand@elasticsearch.com](mailto:adrien.grand@elasticsearch.com)\> wrote:

> Hi Nik,
> 
> Scroll requests operate on a point-in-time view of the index at the time  
> when the scroll has been opened. So there can't be duplicates and if a  
> document has been updated, Elasticsearch will returned the old version.
> 
> On Wed, Feb 5, 2014 at 3:03 PM, Nikolas Everett [nik9000@gmail.com](mailto:nik9000@gmail.com) wrote:
> 
> > Can scroll requests repeat the same document twice? What if the document  
> > was updated? I know it really isn't the same Lucene document the but I  
> > sure think of it as the same thing.
> > 
> > Nik
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0MSt3w5jGYTQdT%3DD8OYTXGtO17%2Buo7FV%3DPZxJU8kBS4g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0MSt3w5jGYTQdT%3DD8OYTXGtO17%2Buo7FV%3DPZxJU8kBS4g%40mail.gmail.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> Adrien Grand
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6UYT9ewXDYGddWKTSVvSMZbohfNnQves0-SG%2B5o79JsQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6UYT9ewXDYGddWKTSVvSMZbohfNnQves0-SG%2B5o79JsQ%40mail.gmail.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd33fFD4\_%3D5p9z4Ku-v1i7OEzxw%2BCOtrgjj%2BadkyL21yug%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd33fFD4_%3D5p9z4Ku-v1i7OEzxw%2BCOtrgjj%2BadkyL21yug%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:52am UTC](https://discuss.elastic.co/t/scroll-repeats/15619/4 "2017-07-06T01:52:21Z")

</div>


