# Help needed with scoring for Boolean Query

**URL:** https://discuss.elastic.co/t/help-needed-with-scoring-for-boolean-query/11473
**Category:** Elasticsearch
**Created:** [April 6, 2013, 11:12am UTC](https://discuss.elastic.co/t/help-needed-with-scoring-for-boolean-query/11473 "2013-04-06T11:12:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Atharva\_Patel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atharva_patel/32/2414_2.png) [@Atharva\_Patel](https://discuss.elastic.co/u/Atharva_Patel)
#### Post date: [April 6, 2013, 11:12am UTC](https://discuss.elastic.co/t/help-needed-with-scoring-for-boolean-query/11473/1 "2013-04-06T11:12:52Z")

</div>

I have a scenario where I would like to use Boolean Query. But I am not  
sure how does boolean query combining multiple clauses generate the final  
score.

For example if I have a query like:

{  
"bool" : {  
"must" : {  
"term" : { "articleContent" : "football" },  
"boost" : 4  
},

```
    "should" : [
        {
            "term" : { "articleTitle" : "football" },
            "boost" : 3
        }
    ],
    "minimum_number_should_match" : 1,
    "boost" : 5.0
}

```

}

Now let's assume that the query in the first clause gets score of 0.3  
before considering it's boost(4) and query in second clause gets score of  
0.7 before considering it's boost(3), then what is the final score that I  
should expect from this query and how's it calculated. I also want to know  
what role can "disableCoord" flag play in this calculation.

Thanks.

--  
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:42am UTC](https://discuss.elastic.co/t/help-needed-with-scoring-for-boolean-query/11473/2 "2017-07-06T02:42:29Z")

</div>


