Why match query and common term query acts different?


(張泰瑋(Chang Tai Wei)) #1
GET /_search
{
    "query": {
        "match" : {
            "message" : "this is a test",
            "cutoff_frequency" : 0.001,
            "minimum_should_match": 2,
            "operator" : "or"
        }
    }
}
{
  "common": {
    "body": {
      "message":             "this is a test",
      "cutoff_frequency":   0.001,
      "low_freq_operator":  "or",
      "high_freq_operator": "or",
      "minimum_should_match": {
          "low_freq" : "2"
       }
    }
  }
}

these two query doesn't return the same results?
Do anyone know why?


(system) #2

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