# Query regarding scoring of ES8. 2

**URL:** <https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687>\
**Category:** Elasticsearch\
**Created:** [August 23, 2022, 8:47am UTC](https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687 "2022-08-23T08:47:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sajeeda](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@sajeeda](https://discuss.elastic.co/u/sajeeda)\
**Post date:** [August 23, 2022, 8:47am UTC](https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687/1 "2022-08-23T08:47:10Z")

</div>

Hi All,

I am trying to upgrade from ES6.3 to ES8.2.  
I am new to Elasticsearch and wanted to understand how the scoring is done on text search in both the versions.  
scores and the result set is all different when compared in these versions. It would be helpful if I can get any relevant links for both versions to understand the scoring mechanism better.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 23, 2022, 9:27am UTC](https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687/2 "2022-08-23T09:27:58Z")

</div>

We switched from TF/IDF to BM25 during this time I guess.

---

<div class="post-metadata">

**Author:** ![sajeeda](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@sajeeda](https://discuss.elastic.co/u/sajeeda)\
**Post date:** [August 23, 2022, 9:33am UTC](https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687/3 "2022-08-23T09:33:01Z")

</div>

Thanks for the reply. Could you please share some reference docs if possible.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 7, 2022, 9:10am UTC](https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687/4 "2022-09-07T09:10:54Z")

</div>

You can read this:

> **[Practical BM25 - Part 2: The BM25 Algorithm and its Variables](https://www.elastic.co/fr/blog/practical-bm25-part-2-the-bm25-algorithm-and-its-variables)**
>
> BM25 is the default similarity ranking (relevancy) algorithm in Elasticsearch. Learn more about how it works by digging into the equation and exploring the concepts behind its variables.

---

<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:** [October 5, 2022, 9:11am UTC](https://discuss.elastic.co/t/query-regarding-scoring-of-es8-2/312687/5 "2022-10-05T09:11:04Z")

</div>

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