# I´d like to make tiers from the score

**URL:** <https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830>\
**Category:** Elasticsearch\
**Created:** [October 23, 2017, 3:44am UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830 "2017-10-23T03:44:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrblue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrblue/32/23268_2.png) [@mrblue](https://discuss.elastic.co/u/mrblue)\
**Post date:** [October 23, 2017, 3:44am UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830/1 "2017-10-23T03:44:12Z")

</div>

Hi everybody,

this might be an advanced Topic. We have some kind of internal rating system for our database, wich is used for sorting the results. Works fine so far.

However, right now even completely irrelevant results will show up as we don´t understand how to really use min\_score..

So here are my questions:

(1) I know about the min\_score search and tried it. But what are good values to break down the results in tiers ? Is there a max\_score so i can fetch a second tier ?

(2) Is there a way to find out what min\_score and max\_score is so i can decide how to use my filters before showing results ?

(3) Other ideas ?

Thanks in advance !

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 23, 2017, 8:24am UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830/2 "2017-10-23T08:24:26Z")

</div>

I can only talk about (3) - I think you need to take a step back and think about precision and recall. You seem to include a lot of results, that are not intended, which means you need to increase precision. Meaning, you need to narrow your search results and ensure you create queries searching for more exact values.

If you share a bit more about your queries, that might help others to chime in.

---

<div class="post-metadata">

**Author:** ![mrblue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrblue/32/23268_2.png) [@mrblue](https://discuss.elastic.co/u/mrblue)\
**Post date:** [October 23, 2017, 1:34pm UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830/3 "2017-10-23T13:34:57Z")

</div>

Hmm.. Querys (multi\_match) will include 2-4 words and usually search trough 3 (text) fields. Also there are 1-6 (bool) Filters users can apply to narrow down the results.

It´s a wiki-style knowledge base wich has grown kinda big over the years.. Nothing i can do there.  
I usually try to display the first 100 results.

The internal scoring system we use is a little bit like stackoverflow.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 23, 2017, 1:43pm UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830/4 "2017-10-23T13:43:29Z")

</div>

you could use a function score query which allows you to set a sort of a minimum score based no something like popularity plus full text search, and then you know the minimum score base line that could be used by min\_score... just a quick thought, havent fully though this through

---

<div class="post-metadata">

**Author:** ![mrblue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrblue/32/23268_2.png) [@mrblue](https://discuss.elastic.co/u/mrblue)\
**Post date:** [October 23, 2017, 2:18pm UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830/5 "2017-10-23T14:18:33Z")

</div>

Yeah.. i will have to play a little bit.. Is there nothing like a max\_score for a second tier of results ?

---

<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:** [November 20, 2017, 2:18pm UTC](https://discuss.elastic.co/t/i-d-like-to-make-tiers-from-the-score/104830/6 "2017-11-20T14:18:35Z")

</div>

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