# more\_like\_this POST/JSON equivalent of GET

**URL:** <https://discuss.elastic.co/t/more-like-this-post-json-equivalent-of-get/23365>\
**Category:** Elasticsearch\
**Created:** [April 22, 2015, 6:40pm UTC](https://discuss.elastic.co/t/more-like-this-post-json-equivalent-of-get/23365 "2015-04-22T18:40:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleemb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleemb/32/756_2.png) [@aleemb](https://discuss.elastic.co/u/aleemb)\
**Post date:** [April 22, 2015, 6:40pm UTC](https://discuss.elastic.co/t/more-like-this-post-json-equivalent-of-get/23365/1 "2015-04-22T18:40:41Z")

</div>

My first day with ElasticSearch and it's wonderful.

The following query works fine:

curl -XGET '  
[http://localhost:9200/demo/news/1177421/\_mlt?mlt\_fields=title,content&fields=id&min\_doc\_freq=1&pretty=true](http://localhost:9200/demo/news/1177421/_mlt?mlt_fields=title,content&fields=id&min_doc_freq=1&pretty=true)  
'

But the following returns incorrect results:

curl -XPOST '[http://localhost:9200/demo/news/1177421/\_mlt](http://localhost:9200/demo/news/1177421/_mlt)' -d '{  
"query":  
{  
"more\_like\_this" : {  
"fields": ["title", "content"],  
"ids": ["1177421"],  
"min\_doc\_freq": 1  
}  
},  
"fields":["id", "title"]  
}'

What am I missing?

My goal is to get results with just the id/title of the related posts.

Aleem

--  
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/CA%2B%3DUhp-wckn4n%3DcnVBjx-P0WE2fhORv86B7S\_1UoXSQA%2BFewTw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2B%3DUhp-wckn4n%3DcnVBjx-P0WE2fhORv86B7S_1UoXSQA%2BFewTw%40mail.gmail.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, 12:18am UTC](https://discuss.elastic.co/t/more-like-this-post-json-equivalent-of-get/23365/2 "2017-07-06T00:18:14Z")

</div>

Closed on July 6, 2017, 12:18am UTC


