# Multi Match Query With Cut\_off Not Scoring High Frequency Terms

**URL:** <https://discuss.elastic.co/t/multi-match-query-with-cut-off-not-scoring-high-frequency-terms/74993>\
**Category:** Elasticsearch\
**Created:** [February 14, 2017, 8:56am UTC](https://discuss.elastic.co/t/multi-match-query-with-cut-off-not-scoring-high-frequency-terms/74993 "2017-02-14T08:56:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mv\_es](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mv\_es](https://discuss.elastic.co/u/mv_es)\
**Post date:** [February 14, 2017, 8:56am UTC](https://discuss.elastic.co/t/multi-match-query-with-cut-off-not-scoring-high-frequency-terms/74993/1 "2017-02-14T08:56:12Z")

</div>

Hi,

**My mapping looks like the following:**

"mapping\_cluster" : {  
"mappings" : {  
"articles" : {  
"properties" : {  
"alexaRank" : {  
"type" : "long"  
},  
"content" : {  
"type" : "string"  
},  
"description" : {  
"type" : "string"  
},  
"imageURL" : {  
"type" : "string"  
},  
"pubDate" : {  
"type" : "date",  
"format" : "strict\_date\_optional\_time||epoch\_millis"  
},  
"sourceName" : {  
"type" : "string"  
},  
"title" : {  
"type" : "string"  
},  
"url" : {  
"type" : "string"  
}  
}  
}  
}  
}

Using ES 2.3.4.

Now on using the following query:

> <https://gist.github.com/anonymous/755c511bcf905d2f85840f01938919ee>

Note: Although none of the terms are common terms, but for testing purposes i am working with such a low cut\_off frequency.

**Question 1:**  
**I get back documents containing wiseman as expected, but the scoring only includes score for pubDate field and the term "wiseman" and not any of the other matching terms.**  
As i had understood, the cut-off frequency causes the match query to become a bool query , with must clauses(containing low freq. terms) & should clauses(containing high freq. terms).  
In this case, thus, since some of the documents matching wiseman, also include the other terms, shouldn't there scores be added to the final score as well?

**Question 2:**  
The cut\_off frequency will compare to relative doc\_frequencies (since it lies between 0 and 1)  
The relative doc\_frequencies will be (doc\_freq)/(total num. docs) and not maxDocs. Is this correct?

---

<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:** [March 14, 2017, 8:56am UTC](https://discuss.elastic.co/t/multi-match-query-with-cut-off-not-scoring-high-frequency-terms/74993/2 "2017-03-14T08:56:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
