# Problems with \_mlt. IndexMissingException

**URL:** <https://discuss.elastic.co/t/problems-with--mlt-indexmissingexception/8037>\
**Category:** Elasticsearch\
**Created:** [June 11, 2012, 7:17am UTC](https://discuss.elastic.co/t/problems-with--mlt-indexmissingexception/8037 "2012-06-11T07:17:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Johnsson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mr_johnsson/32/2859_2.png) [@Mr\_Johnsson](https://discuss.elastic.co/u/Mr_Johnsson)\
**Post date:** [June 11, 2012, 7:17am UTC](https://discuss.elastic.co/t/problems-with--mlt-indexmissingexception/8037/1 "2012-06-11T07:17:31Z")

</div>

Might be that i've missed something but haven't been able to solve this on my own.  
Why is it trowing this error on \_mlt querries?

curl -XGET '[http://localhost:9200/products/ads/4f6d50d2eabc88fb0f000000/\_mlt?min\_term\_freq=1&min\_doc\_freq=1](http://localhost:9200/products/ads/4f6d50d2eabc88fb0f000000/_mlt?min_term_freq=1&min_doc_freq=1)'  
{"error":"IndexMissingException[[products] missing]","status":404}

curl -XGET '[http://localhost:9200/products/ads/4f6d50d2eabc88fb0f000000](http://localhost:9200/products/ads/4f6d50d2eabc88fb0f000000)'  
{"\_index":"products","\_type":"ads","\_id":"4f6d50d2eabc88fb0f000000","\_version":2,"exists":true, "\_source" : and so on........

So the index and that id exists...

The DSL one works but as far as i can see it doesn't support the id in the request so i have to remove/exclude the document i'm searching more like this on in my code.  
{  
"more\_like\_this" : {  
.....................  
}  
}

---

<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:24am UTC](https://discuss.elastic.co/t/problems-with--mlt-indexmissingexception/8037/2 "2017-07-06T03:24:56Z")

</div>

Closed on July 6, 2017, 3:24am UTC


