# Passing min\_score to elastic in query

**URL:** https://discuss.elastic.co/t/passing-min-score-to-elastic-in-query/227032
**Category:** Elastic Search
**Tags:** elastic-app-search
**Created:** [April 8, 2020, 12:30am UTC](https://discuss.elastic.co/t/passing-min-score-to-elastic-in-query/227032 "2020-04-08T00:30:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Dan\_Leng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_leng/32/65879_2.png) [@Dan\_Leng](https://discuss.elastic.co/u/Dan_Leng)
#### Post date: [April 13, 2020, 4:03pm UTC](https://discuss.elastic.co/t/passing-min-score-to-elastic-in-query/227032/2 "2020-04-13T16:03:39Z")

</div>

Assuming that the response from @JasonStoltz in this question:

> [@Random\_score is available on App Search?](https://discuss.elastic.co/t/random-score-is-available-on-app-search/226764):
>
> Hello, I'm trying to get a randomized result using App Search, but I can't find a way to archieve that. I've seen that Elasticsearch does include a random score option ([Random Scoring | Elasticsearch: The Definitive Guide [2.x] | Elastic](https://www.elastic.co/guide/en/elasticsearch/guide/current/random-scoring.html)) Is there any way to access to that feature? Thank you

is the same response I'll get here regarding the min\_score function. To @JasonStoltz or someone else who's knowledgable... I can solve the problem of truncating the search results at some score on my end pretty easily. Is there a way to solve the 2nd problem I mentioned above regarding getting facets and counts that apply to a shorter result list?

---

_[View the full topic](https://discuss.elastic.co/t/passing-min-score-to-elastic-in-query/227032)._
