# Don't Return Similar Documents from a Query

**URL:** <https://discuss.elastic.co/t/dont-return-similar-documents-from-a-query/20268>\
**Category:** Elasticsearch\
**Created:** [October 15, 2014, 4:02pm UTC](https://discuss.elastic.co/t/dont-return-similar-documents-from-a-query/20268 "2014-10-15T16:02:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Toy](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Adam\_Toy](https://discuss.elastic.co/u/Adam_Toy)\
**Post date:** [October 15, 2014, 4:02pm UTC](https://discuss.elastic.co/t/dont-return-similar-documents-from-a-query/20268/1 "2014-10-15T16:02:40Z")

</div>

Hi all,

Is there a way to remove highly similar, but slightly different documents  
from a query result before it is returned? And if so, can you set the  
threshold for which it judges the similarity?

--  
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/4a16a5c7-09ac-4948-990b-40331abf854b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4a16a5c7-09ac-4948-990b-40331abf854b%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:56am UTC](https://discuss.elastic.co/t/dont-return-similar-documents-from-a-query/20268/2 "2017-07-06T00:56:01Z")

</div>


