# How to disable default score on nested objects

**URL:** https://discuss.elastic.co/t/how-to-disable-default-score-on-nested-objects/11040
**Category:** Elasticsearch
**Created:** [March 6, 2013, 6:26pm UTC](https://discuss.elastic.co/t/how-to-disable-default-score-on-nested-objects/11040 "2013-03-06T18:26:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alina](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@Alina](https://discuss.elastic.co/u/Alina)
#### Post date: [March 6, 2013, 6:26pm UTC](https://discuss.elastic.co/t/how-to-disable-default-score-on-nested-objects/11040/1 "2013-03-06T18:26:25Z")

</div>

Hi Everyone,  
I'm trying to disable default scoring by wrapping the query  
with constant\_score:  
"constant\_score" : {  
"query" : {  
"term" : {  
"topta.name.untouched" : "Placebo"  
}  
},  
"boost" : 6.0  
}

but after running the query with explain i'm getting

- value: 0.047801238
- description: Score based on score mode Total and child doc range from  
132127 to 132138
- details: [
  - {
    - value: 0.007966873
    - description: Child[132130]  
}

  - {
    - value: 0.007966873
    - description: Child[132131]  
}

  - {
    - value: 0.007966873
    - description: Child[132134]  
}

  - {
    - value: 0.007966873
    - description: Child[132135]  
}

  - {
    - value: 0.007966873
    - description: Child[132137]  
}

  - {
    - value: 0.007966873
    - description: Child[132138]  
}  
]

Thanks in advance!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:48am UTC](https://discuss.elastic.co/t/how-to-disable-default-score-on-nested-objects/11040/2 "2017-07-06T02:48:00Z")

</div>


