# Ability to manipulate the slope "m" of linear function used to boost relevance scores

**URL:** <https://discuss.elastic.co/t/ability-to-manipulate-the-slope-m-of-linear-function-used-to-boost-relevance-scores/283144>\
**Category:** Elasticsearch\
**Created:** [September 2, 2021, 8:37am UTC](https://discuss.elastic.co/t/ability-to-manipulate-the-slope-m-of-linear-function-used-to-boost-relevance-scores/283144 "2021-09-02T08:37:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsandeep316](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jsandeep316](https://discuss.elastic.co/u/jsandeep316)\
**Post date:** [September 2, 2021, 8:37am UTC](https://discuss.elastic.co/t/ability-to-manipulate-the-slope-m-of-linear-function-used-to-boost-relevance-scores/283144/1 "2021-09-02T08:37:28Z")

</div>

Hi there, I have a use case where I need to augment the text based relevance scoring (such as TF-IDF) with a linear function. However, when I went through the Elasticsearch documentation, nowhere does it mention that the slope "m" of the linear function can be tuned according to my needs.

I really need to be able to tune the slope. How can I do this?

---

<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:** [September 30, 2021, 8:37am UTC](https://discuss.elastic.co/t/ability-to-manipulate-the-slope-m-of-linear-function-used-to-boost-relevance-scores/283144/2 "2021-09-30T08:37:45Z")

</div>

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