MLT unlike has no effect on query


(J) #1

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"
    }
  }
}

(system) #2

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