More like this query

GET articles/_search
{
"query": {
"more_like_this" : {
"fields" : ["title"],
"like" : " Creating the model Apache",
"min_term_freq" : 1,
"max_query_terms" : 12
}
}
}

In articles it exists the exact title " Creating the model Apache" and the query fails to find anything.
Any idea?

If you have a tiny index then you might not be meeting the default min_doc_freq requirement of 5 uses of that word on a shard.
See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#mlt-query-term-selection

Thanks so much!

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.