# Default sorting order in ElasticSearch 1.7

**URL:** <https://discuss.elastic.co/t/default-sorting-order-in-elasticsearch-1-7/141890>\
**Category:** Elasticsearch\
**Created:** [July 27, 2018, 7:29am UTC](https://discuss.elastic.co/t/default-sorting-order-in-elasticsearch-1-7/141890 "2018-07-27T07:29:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![satish2](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@satish2](https://discuss.elastic.co/u/satish2)\
**Post date:** [July 27, 2018, 7:29am UTC](https://discuss.elastic.co/t/default-sorting-order-in-elasticsearch-1-7/141890/1 "2018-07-27T07:29:55Z")

</div>

When we query the elastic search 1.7 with paginated result and not setting any sort option, We are always getting different results for each page.

So We had modified query with preference =\_primary and, its starting giving the same results in each page.

Does this setting always give same records for each page. when there is simultaneous update, does this setting work ? is there record miss when there is a simultaneous update

---

<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, 2018, 7:30am UTC](https://discuss.elastic.co/t/default-sorting-order-in-elasticsearch-1-7/141890/2 "2018-08-24T07:30:08Z")

</div>

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