# How to disable TF/IDF completely

**URL:** <https://discuss.elastic.co/t/how-to-disable-tf-idf-completely/123518>\
**Category:** Elasticsearch\
**Created:** [March 12, 2018, 9:51am UTC](https://discuss.elastic.co/t/how-to-disable-tf-idf-completely/123518 "2018-03-12T09:51:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 12, 2018, 12:15pm UTC](https://discuss.elastic.co/t/how-to-disable-tf-idf-completely/123518/4 "2018-03-12T12:15:15Z")

</div>

So you want to use a `term` query within a `bool -> filter` clause, no?

May be I misunderstand in which case provide a full recreation script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-disable-tf-idf-completely/123518)._
