Giannis
(IOANNIS KAISARIS)
November 19, 2019, 5:43pm
1
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
system
(system)
Closed
December 21, 2019, 9:55pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.