# How to return the actual document from MoreLikeThis query

**URL:** <https://discuss.elastic.co/t/how-to-return-the-actual-document-from-morelikethis-query/5976>\
**Category:** Elasticsearch\
**Created:** [November 26, 2011, 2:27am UTC](https://discuss.elastic.co/t/how-to-return-the-actual-document-from-morelikethis-query/5976 "2011-11-26T02:27:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Strokin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eugene_strokin/32/1238_2.png) [@Eugene\_Strokin](https://discuss.elastic.co/u/Eugene_Strokin)\
**Post date:** [November 26, 2011, 2:27am UTC](https://discuss.elastic.co/t/how-to-return-the-actual-document-from-morelikethis-query/5976/1 "2011-11-26T02:27:36Z")

</div>

Hello,  
When I run MLT query providing a document ID, I'm getting only those  
documents which are similar to the actual document but not the actual  
document. Is any way to get them all together, the actual document  
with ID I provided and the set of MLT documents? Or I should make 2  
requests for them?

Thank you,  
Eugene S.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 28, 2011, 11:56am UTC](https://discuss.elastic.co/t/how-to-return-the-actual-document-from-morelikethis-query/5976/2 "2011-11-28T11:56:45Z")

</div>

The MLT API will intentionally discard the result matching the actual  
document, you will need to ask for it (using get) if you really want it.

On Sat, Nov 26, 2011 at 4:27 AM, Eugene Strokin [eugene@strokin.info](mailto:eugene@strokin.info) wrote:

> Hello,  
> When I run MLT query providing a document ID, I'm getting only those  
> documents which are similar to the actual document but not the actual  
> document. Is any way to get them all together, the actual document  
> with ID I provided and the set of MLT documents? Or I should make 2  
> requests for them?
> 
> Thank you,  
> Eugene S.

---

<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, 3:47am UTC](https://discuss.elastic.co/t/how-to-return-the-actual-document-from-morelikethis-query/5976/3 "2017-07-06T03:47:20Z")

</div>


