# Is a query wrapped around \`constant\_score\` more performant?

**URL:** <https://discuss.elastic.co/t/is-a-query-wrapped-around-constant-score-more-performant/63505>\
**Category:** Elasticsearch\
**Created:** [October 20, 2016, 12:54pm UTC](https://discuss.elastic.co/t/is-a-query-wrapped-around-constant-score-more-performant/63505 "2016-10-20T12:54:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mourjo](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mourjo](https://discuss.elastic.co/u/mourjo)\
**Post date:** [October 20, 2016, 12:54pm UTC](https://discuss.elastic.co/t/is-a-query-wrapped-around-constant-score-more-performant/63505/1 "2016-10-20T12:54:03Z")

</div>

I have a requirement where I want to use ES 1.7 queries, but the \_score is irrelevant to me, so I would like to disable ES's scoring mechanism for queries. If I wrap my whole query in a `constant_score` query, should I see some improvement in response time? Could not find this explanation in the docs.

Is this more performant than just the `filtered` query at the top level?

```
{
  "query": {
    "constant_score": {
      "query": {
        "filtered": {
          "filter": {
            "term": {
              "status": "open"
            }
          },
          "query": {
            "match": {
              "topic": "elastic search"
            }
          }
        }
      }
    }
  }
}
```

---

<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:** [July 5, 2017, 10:10pm UTC](https://discuss.elastic.co/t/is-a-query-wrapped-around-constant-score-more-performant/63505/2 "2017-07-05T22:10:51Z")

</div>


