# Does random\_score seed value got cache?

**URL:** <https://discuss.elastic.co/t/does-random-score-seed-value-got-cache/246536>\
**Category:** Elasticsearch\
**Created:** [August 27, 2020, 2:47am UTC](https://discuss.elastic.co/t/does-random-score-seed-value-got-cache/246536 "2020-08-27T02:47:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Altiano\_Gerung](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/altiano_gerung/32/38040_2.png) [@Altiano\_Gerung](https://discuss.elastic.co/u/Altiano_Gerung)\
**Post date:** [August 27, 2020, 2:47am UTC](https://discuss.elastic.co/t/does-random-score-seed-value-got-cache/246536/1 "2020-08-27T02:47:50Z")

</div>

Want to know whether the seed value on `function_score.random_score` got cache?

I'm implementing the so-called : _consistently random scoring_:  
[https://www.elastic.co/guide/en/elasticsearch/guide/current/random-scoring.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/random-scoring.html),

With the amount of requests in a typical homepage,  
It would be better If I round the seeding value to something like 1 seconds,  
instead of millisecond and having elastic cache that seed value.

---

<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:** [September 24, 2020, 2:47am UTC](https://discuss.elastic.co/t/does-random-score-seed-value-got-cache/246536/2 "2020-09-24T02:47:59Z")

</div>

Closed on September 24, 2020, 2:47am UTC

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