# Top 10% of results

**URL:** <https://discuss.elastic.co/t/top-10-of-results/27122>\
**Category:** Elasticsearch\
**Created:** [August 10, 2015, 12:45pm UTC](https://discuss.elastic.co/t/top-10-of-results/27122 "2015-08-10T12:45:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Jaloveczki](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@Peter\_Jaloveczki](https://discuss.elastic.co/u/Peter_Jaloveczki)\
**Post date:** [August 10, 2015, 12:45pm UTC](https://discuss.elastic.co/t/top-10-of-results/27122/1 "2015-08-10T12:45:28Z")

</div>

Hello!

I'm looking for a setup that actually returns the top 10% of results of a certain query. After the result we also want to sort the subset.

Is there an easy way to do this?

Can anyone provide a simple example for this.  
I was thinking scaling the results scores between 0 and 1.0 and basically sepcifiying min\_score to 0.9.

Thanks,  
Peter

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 11, 2015, 10:43am UTC](https://discuss.elastic.co/t/top-10-of-results/27122/2 "2015-08-11T10:43:31Z")

</div>

That won't work as the scoring for a result is based entirely on the rest of the results in the set, so it's not on a scale from 0 to 1.

What's the top 10% anyway? The top of everything, of a specific number?

---

<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, 11:56pm UTC](https://discuss.elastic.co/t/top-10-of-results/27122/3 "2017-07-05T23:56:29Z")

</div>


