# How to make random\_score more random?

**URL:** <https://discuss.elastic.co/t/how-to-make-random-score-more-random/227635>\
**Category:** Elasticsearch\
**Created:** [April 11, 2020, 9:15pm UTC](https://discuss.elastic.co/t/how-to-make-random-score-more-random/227635 "2020-04-11T21:15:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![i333](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@i333](https://discuss.elastic.co/u/i333)\
**Post date:** [April 11, 2020, 9:15pm UTC](https://discuss.elastic.co/t/how-to-make-random-score-more-random/227635/1 "2020-04-11T21:15:01Z")

</div>

With this query to randomize the search results, is it possible to set how randomized the results will be from the original results? How can I increase or decrease the amount of randomness that the search results have?

```
GET /_search
{
    "query": {
        "function_score": {
            "random_score": {
                "seed": 10,
                "field": "_seq_no"
            },
           "query": MY ACTUAL QUERY THAT I WANT RANDOMIZED RESULTS FOR
        }
    }
}
```

---

<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:** [May 9, 2020, 9:15pm UTC](https://discuss.elastic.co/t/how-to-make-random-score-more-random/227635/2 "2020-05-09T21:15:01Z")

</div>

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