# MLT - boost IDF in detriment of TF?

**URL:** <https://discuss.elastic.co/t/mlt-boost-idf-in-detriment-of-tf/187307>\
**Category:** Elasticsearch\
**Created:** [June 25, 2019, 10:54am UTC](https://discuss.elastic.co/t/mlt-boost-idf-in-detriment-of-tf/187307 "2019-06-25T10:54:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmngpt](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jmngpt](https://discuss.elastic.co/u/jmngpt)\
**Post date:** [June 25, 2019, 10:54am UTC](https://discuss.elastic.co/t/mlt-boost-idf-in-detriment-of-tf/187307/1 "2019-06-25T10:54:49Z")

</div>

Is it possible to write an MLT query that assigns higher "priority" to terms that are rare across all documents than to terms that are frequent on the specific document? From what I could gather the boost\_terms parameter only allows me to boost specific terms, as opposed to boosting rare terms.

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:** [July 23, 2019, 10:54am UTC](https://discuss.elastic.co/t/mlt-boost-idf-in-detriment-of-tf/187307/2 "2019-07-23T10:54:59Z")

</div>

Closed on July 23, 2019, 10:54am UTC

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