# Wrong result in more\_like\_this query

**URL:** <https://discuss.elastic.co/t/wrong-result-in-more-like-this-query/7142>\
**Category:** Elasticsearch\
**Created:** [March 27, 2012, 1:22pm UTC](https://discuss.elastic.co/t/wrong-result-in-more-like-this-query/7142 "2012-03-27T13:22:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Zasada](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@David\_Zasada](https://discuss.elastic.co/u/David_Zasada)\
**Post date:** [March 27, 2012, 1:22pm UTC](https://discuss.elastic.co/t/wrong-result-in-more-like-this-query/7142/1 "2012-03-27T13:22:06Z")

</div>

Hi,

i've tried the "more like this" elastic search query and wondered why i am  
getting a wrong result. Maybe i misunderstand the elastic search "more like  
this" query... ?  
Can anybody explain how to use it?

I've watched to the following JUnit test and was a little bit confused #?

> <https://github.com/elastic/elasticsearch/blob/0.19/src/test/java/org/elasticsearch/test/integration/mlt/MoreLikeThisActionTests.java>

In the rows 88 and 120 are two expected hits 11 and 11. Why ?  
Is the Junit test wrong?

What do the min\_term\_freq and min\_doc\_freq mean?

---

<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:34am UTC](https://discuss.elastic.co/t/wrong-result-in-more-like-this-query/7142/2 "2017-07-06T03:34:37Z")

</div>


