How to disable default score on nested objects

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.
For more options, visit https://groups.google.com/groups/opt_out.