# \_score value doesn't match the return value of a script\_score, is this a bug?

**URL:** https://discuss.elastic.co/t/-score-value-doesnt-match-the-return-value-of-a-script-score-is-this-a-bug/30077
**Category:** Elasticsearch
**Created:** [September 27, 2015, 1:25am UTC](https://discuss.elastic.co/t/-score-value-doesnt-match-the-return-value-of-a-script-score-is-this-a-bug/30077 "2015-09-27T01:25:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cldsnchz](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@cldsnchz](https://discuss.elastic.co/u/cldsnchz)
#### Post date: [September 27, 2015, 1:25am UTC](https://discuss.elastic.co/t/-score-value-doesnt-match-the-return-value-of-a-script-score-is-this-a-bug/30077/1 "2015-09-27T01:25:36Z")

</div>

Hi, I have a script\_score that returns a number but the explain shows another number in the score value of that script

```
{
  "query":{
    "function_score":{
      "functions":[
        { "script_score":{ "script":"1443150000000" } }
      ]
    }
  }
}

```

The explain shows:

```
value: 1443150040000
description: "script score function, computed with script:"1443150000000"

```

Is this correct or is a bug?

Thanks, Claudio.

---

<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 5, 2017, 11:47pm UTC](https://discuss.elastic.co/t/-score-value-doesnt-match-the-return-value-of-a-script-score-is-this-a-bug/30077/2 "2017-07-05T23:47:55Z")

</div>


