# Is there a way to change the algorithm of calculating the scores of document?

**URL:** https://discuss.elastic.co/t/is-there-a-way-to-change-the-algorithm-of-calculating-the-scores-of-document/63264
**Category:** Elasticsearch
**Created:** [October 18, 2016, 9:10am UTC](https://discuss.elastic.co/t/is-there-a-way-to-change-the-algorithm-of-calculating-the-scores-of-document/63264 "2016-10-18T09:10:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lenny\_Xu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lenny_xu/32/12555_2.png) [@Lenny\_Xu](https://discuss.elastic.co/u/Lenny_Xu)
#### Post date: [October 18, 2016, 9:10am UTC](https://discuss.elastic.co/t/is-there-a-way-to-change-the-algorithm-of-calculating-the-scores-of-document/63264/1 "2016-10-18T09:10:39Z")

</div>

We have a index that stores a bunch of documents. We want to show the documents with the scores that is independent of the frequency.（Specifically we want to show the result in a random way while keeping those with high scores on top） Is there a way to do that or we`d better not want to change it anyway? Thanks in advance！

---

<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:11pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-change-the-algorithm-of-calculating-the-scores-of-document/63264/2 "2017-07-05T22:11:36Z")

</div>


