# Boost on child is not changing score in v7.2

**URL:** <https://discuss.elastic.co/t/boost-on-child-is-not-changing-score-in-v7-2/208255>\
**Category:** Elasticsearch\
**Created:** [November 18, 2019, 5:59am UTC](https://discuss.elastic.co/t/boost-on-child-is-not-changing-score-in-v7-2/208255 "2019-11-18T05:59:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![askids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/askids/32/22252_2.png) [@askids](https://discuss.elastic.co/u/askids)\
**Post date:** [November 18, 2019, 5:59am UTC](https://discuss.elastic.co/t/boost-on-child-is-not-changing-score-in-v7-2/208255/1 "2019-11-18T05:59:46Z")

</div>

hi,

We are in the process of upgrading from v5.5.1 to v7.2.0, running on Windows 2012 (running JRE 1.8.0\_231). So we are trying out the replacement of parent/child mapping type with the new join field. In existing app, we have queries which provide query time boost, based on matching child records.

I tried a simple query to retrieve parent based on child. This returns only 1 record. However, if I use boost option, the score is not changing. Its still returning score as 1. However, in v5.5.1, the score changes to 100, when I use boost. Is this a bug? Should I report this in GitHub? Please let me know.

```
GET myindex/_search
{
  "query": {
    "has_child": {
      "type": "childtype",
      "query": {
        "terms": {
          "somefield": ["somevalue"]
        }
      },
      "boost" : 100
    }
  }
}

```

Thanks!

---

<div class="post-metadata">

**Author:** ![askids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/askids/32/22252_2.png) [@askids](https://discuss.elastic.co/u/askids)\
**Post date:** [November 19, 2019, 5:58pm UTC](https://discuss.elastic.co/t/boost-on-child-is-not-changing-score-in-v7-2/208255/2 "2019-11-19T17:58:23Z")

</div>

Just to add, using score\_mode also does not make a difference to score. Only if I use function\_score, then only score is reflecting the value from boost. Else, its based on default \_score.

---

<div class="post-metadata">

**Author:** ![askids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/askids/32/22252_2.png) [@askids](https://discuss.elastic.co/u/askids)\
**Post date:** [December 17, 2019, 1:08am UTC](https://discuss.elastic.co/t/boost-on-child-is-not-changing-score-in-v7-2/208255/3 "2019-12-17T01:08:08Z")

</div>

does anyone have boost on child records working in v7.x?

---

<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:** [January 14, 2020, 1:08am UTC](https://discuss.elastic.co/t/boost-on-child-is-not-changing-score-in-v7-2/208255/4 "2020-01-14T01:08:14Z")

</div>

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