# ES v1.7.1 Returning almost similar results on every page

**URL:** https://discuss.elastic.co/t/es-v1-7-1-returning-almost-similar-results-on-every-page/33405
**Category:** Elasticsearch
**Created:** [October 30, 2015, 5:57pm UTC](https://discuss.elastic.co/t/es-v1-7-1-returning-almost-similar-results-on-every-page/33405 "2015-10-30T17:57:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sujeet\_Kulkarni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sujeet_kulkarni/32/5605_2.png) [@Sujeet\_Kulkarni](https://discuss.elastic.co/u/Sujeet_Kulkarni)
#### Post date: [October 30, 2015, 5:57pm UTC](https://discuss.elastic.co/t/es-v1-7-1-returning-almost-similar-results-on-every-page/33405/1 "2015-10-30T17:57:49Z")

</div>

```
GET _search
{
  "from": 0,
  "size": 10,
  "query": {  
        "term": {
          "artifactName": {
            "value": "rosa parks"
          }
        }
  }
}

```

This a sample query which I am trying to run on ES and Its running  
well but when I select the from as 1 the results of this are similar to  
what I got the previous set the only exception is that the first result  
is excluded.

Example of my issue:

Page Results

0 1-10

2 2-11 (Expecting 11-20)

Could you please point me in the direction where I am going wrong?

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [October 30, 2015, 7:22pm UTC](https://discuss.elastic.co/t/es-v1-7-1-returning-almost-similar-results-on-every-page/33405/2 "2015-10-30T19:22:44Z")

</div>

The from parameter is not the page offset, but simply the document size.  
from: 1 size: 10 returns documents 2-11.

The next page of results should be the query size + 1 (for the second  
page), 2\*query size +1 for the third page, etc..

Ivan

---

<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, 11:41pm UTC](https://discuss.elastic.co/t/es-v1-7-1-returning-almost-similar-results-on-every-page/33405/3 "2017-07-05T23:41:36Z")

</div>


