Morelikethis returns no results

(Mike Merritt-Holmes) #1


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

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.





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
To view this discussion on the web visit
For more options, visit

(system) #2