# Breakign change: \_score instead of score in scripts

**URL:** <https://discuss.elastic.co/t/breakign-change--score-instead-of-score-in-scripts/3845>\
**Category:** Elasticsearch\
**Created:** [January 31, 2011, 12:17am UTC](https://discuss.elastic.co/t/breakign-change--score-instead-of-score-in-scripts/3845 "2011-01-31T00:17:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [January 31, 2011, 12:17am UTC](https://discuss.elastic.co/t/breakign-change--score-instead-of-score-in-scripts/3845/1 "2011-01-31T00:17:33Z")

</div>

Heya,

The usage of the score of a hit in custom score scripts was changed to `_score` form `score`. For backward compatibility, using `score` was still allowed. In upcoming 0.15, only \_score will be allowed.

cheers,  
-shay.banon

---

<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 6, 2017, 4:13am UTC](https://discuss.elastic.co/t/breakign-change--score-instead-of-score-in-scripts/3845/2 "2017-07-06T04:13:07Z")

</div>

Closed on July 6, 2017, 4:13am UTC


