# Search by page the same document is returned on multiple pages

**URL:** https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500
**Category:** Elasticsearch
**Created:** [September 1, 2016, 7:32am UTC](https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500 "2016-09-01T07:32:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![whybangbang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whybangbang/32/7116_2.png) [@whybangbang](https://discuss.elastic.co/u/whybangbang)
#### Post date: [September 1, 2016, 7:32am UTC](https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500/1 "2016-09-01T07:32:59Z")

</div>

when we use 'from' 'size' ,we find the same document is returned on multi pages, can scroll solve this problem? if scroll\_id can be used by multi user?

---

<div class="post-metadata">

### Author: ![whybangbang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whybangbang/32/7116_2.png) [@whybangbang](https://discuss.elastic.co/u/whybangbang)
#### Post date: [September 1, 2016, 7:42am UTC](https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500/2 "2016-09-01T07:42:54Z")

</div>

there is a page explain the difference between solr cusor and es scroll [http://stackoverflow.com/questions/25104927/differences-between-solrs-cursor-and-elasticsearchs-scroll](http://stackoverflow.com/questions/25104927/differences-between-solrs-cursor-and-elasticsearchs-scroll)

---

<div class="post-metadata">

### Author: ![mainec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mainec/32/5557_2.png) [@mainec](https://discuss.elastic.co/u/mainec)
#### Post date: [September 1, 2016, 9:17am UTC](https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500/3 "2016-09-01T09:17:47Z")

</div>

See [Request body search | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html) for a more detailed explanation of scroll.

The part that might be relevant to your problem:

> The results that are returned from a scroll request reflect the state of the index at the time that the initial search request was made, like a snapshot in time. Subsequent changes to documents (index, update or delete) will only affect later search requests.

Hope this helps,

Isabel

---

<div class="post-metadata">

### Author: ![whybangbang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whybangbang/32/7116_2.png) [@whybangbang](https://discuss.elastic.co/u/whybangbang)
#### Post date: [September 2, 2016, 3:11am UTC](https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500/4 "2016-09-02T03:11:39Z")

</div>

thank you for your reply, we will change to scroll in the future,

---

<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 5, 2017, 10:23pm UTC](https://discuss.elastic.co/t/search-by-page-the-same-document-is-returned-on-multiple-pages/59500/5 "2017-07-05T22:23:02Z")

</div>


