# Removing boost term from scoring or make it 1?

**URL:** <https://discuss.elastic.co/t/removing-boost-term-from-scoring-or-make-it-1/233347>\
**Category:** Elasticsearch\
**Created:** [May 19, 2020, 2:45pm UTC](https://discuss.elastic.co/t/removing-boost-term-from-scoring-or-make-it-1/233347 "2020-05-19T14:45:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![divyanshumarwah](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@divyanshumarwah](https://discuss.elastic.co/u/divyanshumarwah)\
**Post date:** [May 19, 2020, 2:45pm UTC](https://discuss.elastic.co/t/removing-boost-term-from-scoring-or-make-it-1/233347/1 "2020-05-19T14:45:26Z")

</div>

Hi,

Is there some way, that I can remove default boost term from elastic relevance scoring or make it 1(so it does not reflect in scoring). for example,  
input query is

```auto
GET test_index/_search
{
  "query": {
    "match": {
      "text": "asia pacific"
    }
},"explain": true
}

```

partial results are

```auto
"details" : [
            {
              "value" : 6.5127892,
              "description" : "weight(text:asia in 5417) [PerFieldSimilarity], result of:",
              "details" : [
                {
                  "value" : 6.5127892,
                  "description" : "score(freq=6.0), product of:",
                  "details" : [
                    {
                      "value" : 2.2,
                      "description" : "boost",
                      "details" : []
                    },
                    {
                      "value" : 3.8113363,
                      "description" : "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                      "details" : [
                        {
                          "value" : 462,
                          "description" : "n, number of documents containing term",
                          "details" : []
                        },
                        {
                          "value" : 20909,
                          "description" : "N, total number of documents with field",
                          "details" : []
                        }
                      ]
                    },
                    { 
                      "value" : 0.7767246,
                      "description" : "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                      "details" : [
                        {
                          "value" : 6.0,
                          "description" : "freq, occurrences of term within document",
                          "details" : []
                        },
                        {
                          "value" : 1.2,
                          "description" : "k1, term saturation parameter",
                          "details" : []
                        },
                        {
                          "value" : 0.75,
                          "description" : "b, length normalization parameter",
                          "details" : []
                        },
                        {
                          "value" : 1048.0,
                          "description" : "dl, length of field (approximate)",
                          "details" : []
                        },
                        {
                          "value" : 662.01294,
                          "description" : "avgdl, average length of field",
                          "details" : []
                        }
                      ]
                    }
                  ]
                }
              ]
            },

```

This is the explanation of of one of the terms in a simple match query.  
In the above example, I want to remove the boost term of 2.2 or make it equal to 1.  
please suggest how to do this.

Thanks

---

<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:** [June 16, 2020, 2:45pm UTC](https://discuss.elastic.co/t/removing-boost-term-from-scoring-or-make-it-1/233347/2 "2020-06-16T14:45:32Z")

</div>

Closed on June 16, 2020, 2:45pm UTC

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