# Random\_score page consistency

**URL:** <https://discuss.elastic.co/t/random-score-page-consistency/14526>\
**Category:** Elasticsearch\
**Created:** [November 21, 2013, 10:22pm UTC](https://discuss.elastic.co/t/random-score-page-consistency/14526 "2013-11-21T22:22:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna\_Kochaniak](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@Joanna\_Kochaniak](https://discuss.elastic.co/u/Joanna_Kochaniak)\
**Post date:** [November 21, 2013, 10:22pm UTC](https://discuss.elastic.co/t/random-score-page-consistency/14526/1 "2013-11-21T22:22:55Z")

</div>

I'd like to use random\_score in the function\_score query to recreate pages  
of results, but I'm wondering whether the results will really be  
consistent. If I use the same seed, the random numbers generated will be  
the same. But, are documents in ES always scored in the same order? Will  
the scores generated by the random function be applied to the same  
documents every time (assuming I haven't reindexed)? What worries me is the  
comment here[https://github.com/elasticsearch/elasticsearch/issues/1170#issuecomment-22819670](https://github.com/elasticsearch/elasticsearch/issues/1170#issuecomment-22819670) that  
says, "or with a seed (for near-consistent pagination)", in particular the  
word _near-consistent_. Will the pages returned by random\_score be  
consistent or near-consistent?

--  
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).  
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, 2:05am UTC](https://discuss.elastic.co/t/random-score-page-consistency/14526/2 "2017-07-06T02:05:34Z")

</div>


