# Morelikethis returns no results

**URL:** <https://discuss.elastic.co/t/morelikethis-returns-no-results/19412>\
**Category:** Elasticsearch\
**Created:** [August 22, 2014, 4:55pm UTC](https://discuss.elastic.co/t/morelikethis-returns-no-results/19412 "2014-08-22T16:55:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Merritt\_Holmes](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Mike\_Merritt\_Holmes](https://discuss.elastic.co/u/Mike_Merritt_Holmes)\
**Post date:** [August 22, 2014, 4:55pm UTC](https://discuss.elastic.co/t/morelikethis-returns-no-results/19412/1 "2014-08-22T16:55:23Z")

</div>

Hi,

we are currently trying to use the MLT API to get similar documents based  
on one of them and we get no results back. To debug we even tried using the  
query directly with some settings like minimum documents and terms to zero  
and we got no results back.

We tried several variations, tweak the settings, not to say any document in  
the query, tried other datasets (indexes and types) but never seem to get a  
result back.

API call:  
_curl -XGET  
'[http://localhost:9200/tweets-world/tweets/476735980666630144/\_mlt?routing=476735980666630144&fields=matching\_phrases.brand](http://localhost:9200/tweets-world/tweets/476735980666630144/_mlt?routing=476735980666630144&fields=matching_phrases.brand)  
 [http://localhost:9200/tweets-world/tweets/476735980666630144/\_mlt?routing=476735980666630144&fields=matching\_phrases.brand](http://localhost:9200/tweets-world/tweets/476735980666630144/_mlt?routing=476735980666630144&fields=matching_phrases.brand)'_

query request:  
_{_

- "query": {\*
- "more\_like\_this": {\*
- 

```
 "docs" : [*

```

- 

```
   {*

```

- 

```
       "_index" : "tweets-world",*

```

- 

```
       "_type" : "tweets",*

```

- 

```
       "_id" : "476735980666630144"*

```

- 

```
   }*

```

- 

```
   ],*

```

- 

```
 "min_term_freq": 0,*

```

- 

```
 "min_doc_freq": 0,*

```

- 

```
 "min_word_len": 0*

```

- }\*
- }\*  
_}_

In attachment you'll find an example of our documents and mappings.

Thanks

Mike

--

_NOTICE AND DISCLAIMER_

This email (including attachments) is confidential. If you are not the  
intended recipient, notify the sender immediately, delete this email from  
your system and do not disclose or use for any purpose.

Business Address: 1 Bath Street, London, EC1V 9LB.  
Registered Office: Finsgate, 5-7 Cranwood Street, London, EC1V 9EE  
Big Data Partnership Limited is a company registered in England & Wales  
with Company No 7904824

--  
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/3137adc1-7eaf-4e75-b957-ff5e051372c9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3137adc1-7eaf-4e75-b957-ff5e051372c9%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, 1:06am UTC](https://discuss.elastic.co/t/morelikethis-returns-no-results/19412/2 "2017-07-06T01:06:58Z")

</div>


