# More Like This - Results Is Empty

**URL:** <https://discuss.elastic.co/t/more-like-this-results-is-empty/19683>\
**Category:** Elasticsearch\
**Created:** [September 9, 2014, 2:09pm UTC](https://discuss.elastic.co/t/more-like-this-results-is-empty/19683 "2014-09-09T14:09:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phenrigomes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phenrigomes/32/105880_2.png) [@phenrigomes](https://discuss.elastic.co/u/phenrigomes)\
**Post date:** [September 9, 2014, 2:09pm UTC](https://discuss.elastic.co/t/more-like-this-results-is-empty/19683/1 "2014-09-09T14:09:08Z")

</div>

Why \_mlt results is empty? Even with data in index.

GET /megacorp/deas/1/\_mlt?mlt\_fields=name&min\_doc\_freq=1

{  
"took": 3,  
"timed\_out": false,  
"\_shards": {  
"total": 5,  
"successful": 5,  
"failed": 0  
},  
"hits": {  
"total": 0,  
"max\_score": null,  
"hits": []  
}  
}

Type Mapping:

{  
"megacorp": {  
"mappings": {  
"deas": {  
"properties": {  
"fields": {  
"type": "string"  
},  
"ids": {  
"type": "string"  
},  
"max\_query\_terms": {  
"type": "long"  
},  
"min\_term\_freq": {  
"type": "long"  
},  
"more\_like\_this": {  
"properties": {  
"docs": {  
"properties": {  
"\_id": {  
"type": "string"  
},  
"\_index": {  
"type": "string"  
},  
"\_type": {  
"type": "string"  
}  
}  
},  
"fields": {  
"type": "string"  
},  
"ids": {  
"type": "long"  
},  
"max\_query\_terms": {  
"type": "long"  
},  
"min\_term\_freq": {  
"type": "long"  
}  
}  
},  
"name": {  
"type": "string",  
"store": true  
}  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)\
**Post date:** [September 10, 2014, 10:47am UTC](https://discuss.elastic.co/t/more-like-this-results-is-empty/19683/2 "2014-09-10T10:47:41Z")

</div>

Hello ,

We need more data to debug this.  
Can you paste the reference document you are performing MLT.

Also i feel if you set min\_term\_freq as 1 along with min\_doc\_freq=1 , it  
should work.

Thanks  
Vineeth

On Tue, Sep 9, 2014 at 7:39 PM, phenrigomes [phenrigomes@gmail.com](mailto:phenrigomes@gmail.com) wrote:

> Why \_mlt results is empty? Even with data in index.
> 
> GET /megacorp/deas/1/\_mlt?mlt\_fields=name&min\_doc\_freq=1
> 
> {  
> "took": 3,  
> "timed\_out": false,  
> "\_shards": {  
> "total": 5,  
> "successful": 5,  
> "failed": 0  
> },  
> "hits": {  
> "total": 0,  
> "max\_score": null,  
> "hits":   
> }  
> }
> 
> Type Mapping:
> 
> {  
> "megacorp": {  
> "mappings": {  
> "deas": {  
> "properties": {  
> "fields": {  
> "type": "string"  
> },  
> "ids": {  
> "type": "string"  
> },  
> "max\_query\_terms": {  
> "type": "long"  
> },  
> "min\_term\_freq": {  
> "type": "long"  
> },  
> "more\_like\_this": {  
> "properties": {  
> "docs": {  
> "properties": {  
> "\_id": {  
> "type": "string"  
> },  
> "\_index": {  
> "type": "string"  
> },  
> "\_type": {  
> "type": "string"  
> }  
> }  
> },  
> "fields": {  
> "type": "string"  
> },  
> "ids": {  
> "type": "long"  
> },  
> "max\_query\_terms": {  
> "type": "long"  
> },  
> "min\_term\_freq": {  
> "type": "long"  
> }  
> }  
> },  
> "name": {  
> "type": "string",  
> "store": true  
> }  
> }  
> }  
> }  
> }  
> }
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/More-Like-This-Results-Is-Empty-tp4063176.html](http://elasticsearch-users.115913.n3.nabble.com/More-Like-This-Results-Is-Empty-tp4063176.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> --  
> 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/1410271748763-4063176.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1410271748763-4063176.post%40n3.nabble.com)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAGdPd5%3DoB3QHmQ\_dzbU0oJWQcLmhqT03PJdTwJqtRcT9EG5ERw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3DoB3QHmQ_dzbU0oJWQcLmhqT03PJdTwJqtRcT9EG5ERw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![phenrigomes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phenrigomes/32/105880_2.png) [@phenrigomes](https://discuss.elastic.co/u/phenrigomes)\
**Post date:** [September 10, 2014, 12:04pm UTC](https://discuss.elastic.co/t/more-like-this-results-is-empty/19683/3 "2014-09-10T12:04:02Z")

</div>

I am making an application for product comparison, but "more like this" query not is adequate. Fuzzy query is adequate to bind to products the same vendor?

---

<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:03am UTC](https://discuss.elastic.co/t/more-like-this-results-is-empty/19683/4 "2017-07-06T01:03:20Z")

</div>


