# Way to Elasticsearch returns similar docs count by each doc returned on search

**URL:** <https://discuss.elastic.co/t/way-to-elasticsearch-returns-similar-docs-count-by-each-doc-returned-on-search/40998>\
**Category:** Elasticsearch\
**Created:** [February 4, 2016, 7:07pm UTC](https://discuss.elastic.co/t/way-to-elasticsearch-returns-similar-docs-count-by-each-doc-returned-on-search/40998 "2016-02-04T19:07:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luankjs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luankjs/32/7589_2.png) [@luankjs](https://discuss.elastic.co/u/luankjs)\
**Post date:** [February 4, 2016, 7:07pm UTC](https://discuss.elastic.co/t/way-to-elasticsearch-returns-similar-docs-count-by-each-doc-returned-on-search/40998/1 "2016-02-04T19:07:36Z")

</div>

I have a Elasticsearch index with many docs where the content of this docs is frequently similar, 'cause each doc is an article from a website.

Currently we need to know how many docs are similar for each doc returned on our search. It's like more\_like\_this functionality, but on more\_like\_this i need to pass the doc\_id to do the search. In case, we would need to do a more\_like\_this search for each doc returned on a search, and it's not "cool".

Anyone know another way to 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:** [July 5, 2017, 11:18pm UTC](https://discuss.elastic.co/t/way-to-elasticsearch-returns-similar-docs-count-by-each-doc-returned-on-search/40998/2 "2017-07-05T23:18:49Z")

</div>


