Using ES2.4, doing a MLT with and without the unlike
gives the same results. The only time i get different results is when I put the same term in both like
and unlike
. What am I missing?
{
"_source": {
"include": [
"title"
]
},
"size": "40",
"query": {
"more_like_this": {
"fields": [
"title"
],
"like": [
"dinner",
"recipe",
"supper"
],
"unlike": [
"manager"
],
"max_query_terms": "25",
"min_term_freq": "1"
}
}
}