# How to filter low term-frequency documents in elasticsearch?

**URL:** <https://discuss.elastic.co/t/how-to-filter-low-term-frequency-documents-in-elasticsearch/20331>\
**Category:** Elasticsearch\
**Created:** [October 20, 2014, 7:54am UTC](https://discuss.elastic.co/t/how-to-filter-low-term-frequency-documents-in-elasticsearch/20331 "2014-10-20T07:54:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenjinyuan87](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@chenjinyuan87](https://discuss.elastic.co/u/chenjinyuan87)\
**Post date:** [October 20, 2014, 7:54am UTC](https://discuss.elastic.co/t/how-to-filter-low-term-frequency-documents-in-elasticsearch/20331/1 "2014-10-20T07:54:12Z")

</div>

Hey guys:

We are using elasticsearch to push newly added documents to users. Thus the  
search results are ranked according publish time.  
In this case, users often receive low relevance documents, such as  
documents in which query words only appear once.  
How can we filter such documents in elasticsearch?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5148ebe2-0cbe-4367-9a35-f1e64eac88ac%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5148ebe2-0cbe-4367-9a35-f1e64eac88ac%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:55am UTC](https://discuss.elastic.co/t/how-to-filter-low-term-frequency-documents-in-elasticsearch/20331/2 "2017-07-06T00:55:08Z")

</div>


