# Set score lower bound

**URL:** <https://discuss.elastic.co/t/set-score-lower-bound/247342>\
**Category:** Elasticsearch\
**Created:** [September 3, 2020, 8:33am UTC](https://discuss.elastic.co/t/set-score-lower-bound/247342 "2020-09-03T08:33:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_D](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@Alex\_D](https://discuss.elastic.co/u/Alex_D)\
**Post date:** [September 3, 2020, 8:33am UTC](https://discuss.elastic.co/t/set-score-lower-bound/247342/1 "2020-09-03T08:33:02Z")

</div>

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

If I use simple query construction, "min\_score" works properly

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

```

But "min\_score" doesn't work for "nested" construction and "dis\_max" clause

```auto
{
  "nested": {
    "path": "somePath",
    "query": {
      "match": {
        "textField": "something" 
      }
    }
    // "min_score" doesn't work here
  }
}

```

```auto
"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 ! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 1, 2020, 8:33am UTC](https://discuss.elastic.co/t/set-score-lower-bound/247342/2 "2020-10-01T08:33:15Z")

</div>

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