Set score lower bound

Hi all !
I am trying to set score lower bound for query.

If I use simple query construction, "min_score" works properly

GET my-index/_search
{
  "query": {
    "match": {
      "textField": "something" 
    }
  },
  "min_score":100
}

But "min_score" doesn't work for "nested" construction and "dis_max" clause

{
  "nested": {
    "path": "somePath",
    "query": {
      "match": {
        "textField": "something" 
      }
    }
    // "min_score" doesn't work here
  }
}
"dis_max": {
  "queries": [
    {
      "match": {
        "textField1": "something1"
      }
    },
    {
      "match": {
        "textField2": "something2"
      }
    }
  ]
  // "min_score" doesn't work here
}

Is there any way how to solve it ?
Thanks in advance ! :slightly_smiling_face:

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