# Script\_score

**URL:** https://discuss.elastic.co/t/script-score/15835
**Category:** Elasticsearch
**Created:** [February 16, 2014, 10:16pm UTC](https://discuss.elastic.co/t/script-score/15835 "2014-02-16T22:16:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jayni](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jayni](https://discuss.elastic.co/u/Jayni)
#### Post date: [February 16, 2014, 10:16pm UTC](https://discuss.elastic.co/t/script-score/15835/1 "2014-02-16T22:16:23Z")

</div>

Hi,

I simply want to score the results of my "more\_like\_this\_field" query on my own.  
Why doesn't this work?

###### { "query": { "function\_score": { "more\_like\_this\_field": { "test\_field": { "like\_text": "this is a test", "min\_term\_freq" : "0", "min\_doc\_freq": "0" } }, "functions": [{ "script\_score": { "script": "\_score \* 2" } }] } } }

Jayni

---

<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, 1:49am UTC](https://discuss.elastic.co/t/script-score/15835/2 "2017-07-06T01:49:47Z")

</div>


