# More Like This returnd documents

**URL:** <https://discuss.elastic.co/t/more-like-this-returnd-documents/67072>\
**Category:** Elasticsearch\
**Created:** [November 24, 2016, 8:50am UTC](https://discuss.elastic.co/t/more-like-this-returnd-documents/67072 "2016-11-24T08:50:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![valerioorfano](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@valerioorfano](https://discuss.elastic.co/u/valerioorfano)\
**Post date:** [November 24, 2016, 8:50am UTC](https://discuss.elastic.co/t/more-like-this-returnd-documents/67072/1 "2016-11-24T08:50:57Z")

</div>

Hi all, I've been using MLT query, to search similar documents to a given one. I am planning to create a kind of recommender system, something like, if you choose this doc, you could be also interested into those others.

I notice MLT returns all the documents in the index. I want to limit the returned documents only to the top 5, reducing the time overhead. I tried with "size":5 , but it does not seem to be working.

Rgds valerio

---

<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:** [December 22, 2016, 8:50am UTC](https://discuss.elastic.co/t/more-like-this-returnd-documents/67072/2 "2016-12-22T08:50:58Z")

</div>

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