# What’s the sort score difference between elasticsearch7.9.3 and elasticsearch6.8.0?

**URL:** <https://discuss.elastic.co/t/what-s-the-sort-score-difference-between-elasticsearch7-9-3-and-elasticsearch6-8-0/275225>\
**Category:** Elasticsearch\
**Created:** [June 8, 2021, 3:37am UTC](https://discuss.elastic.co/t/what-s-the-sort-score-difference-between-elasticsearch7-9-3-and-elasticsearch6-8-0/275225 "2021-06-08T03:37:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunweiconfidence](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sunweiconfidence](https://discuss.elastic.co/u/sunweiconfidence)\
**Post date:** [June 8, 2021, 3:37am UTC](https://discuss.elastic.co/t/what-s-the-sort-score-difference-between-elasticsearch7-9-3-and-elasticsearch6-8-0/275225/1 "2021-06-08T03:37:33Z")

</div>

`i test in the elasticsearch7.9.3 using below query clause:`

```auto
URL:
https://elastic:password@MACHINENAME:9500/indexname/_search
query post body:
 {
"explain": true,
"from": 0,
"size": 130,
"query": {
    "bool": {
        "should": {
            "bool": {
                "should": [
                    {
                        "match_phrase_prefix": {
                            "TitleFieldAC": {
                                "query": "test",
                                "boost": 200
                            }
                        }
                    },
                    {
                        "match_phrase_prefix": {
                            "SummaryFieldAC": {
                                "query": "test",
                                "boost": 100
                            }
                        }
                    },
                    {
                        "multi_match": {
                            "query": "test",
                            "type": "cross_fields",
                            "operator": "or",
                            "auto_generate_synonyms_phrase_query": false,
                            "boost": 1
                        }
                    }
                ]
            }
        },
        "minimum_should_match": "1"
    }
},
"sort": [
    {
        "_score": "desc"
    }
]
}

```

```auto
but i found that in elasticsearch6.8.0, sort result is not same as elasticsearch7.9.3's sort result using same query clause,

i want to know, whether the two elasticsearch versions sort by score is different or my usage have issue? thanks.

```

---

<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:** [June 8, 2021, 3:40am UTC](https://discuss.elastic.co/t/what-s-the-sort-score-difference-between-elasticsearch7-9-3-and-elasticsearch6-8-0/275225/2 "2021-06-08T03:40:44Z")

</div>

Given you have a topic on this already, let's continue the discussion at [What's the sort default score difference between elasticsearch7.9.3 and elasticsearch6.8.0](https://discuss.elastic.co/t/whats-the-sort-default-score-difference-between-elasticsearch7-9-3-and-elasticsearch6-8-0/274711)

---

<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:** [June 8, 2021, 3:40am UTC](https://discuss.elastic.co/t/what-s-the-sort-score-difference-between-elasticsearch7-9-3-and-elasticsearch6-8-0/275225/3 "2021-06-08T03:40:47Z")

</div>


