# About Rejectting Query

**URL:** <https://discuss.elastic.co/t/about-rejectting-query/43098>\
**Category:** Elasticsearch\
**Created:** [March 1, 2016, 9:54am UTC](https://discuss.elastic.co/t/about-rejectting-query/43098 "2016-03-01T09:54:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![whzcl](https://avatars.discourse-cdn.com/v4/letter/w/eb8c5e/32.png) [@whzcl](https://discuss.elastic.co/u/whzcl)\
**Post date:** [March 1, 2016, 9:54am UTC](https://discuss.elastic.co/t/about-rejectting-query/43098/1 "2016-03-01T09:54:56Z")

</div>

Hi,

Recently, I met some bad queries that have make my ES suffer high query time and load average. Therefore, I want to know some questions as followed:

1. What's the mechanism of rejectting query for ES.
2. How to configure the mechanism of reject query if I want to block some bad query that will make the elasticsearch suffer high query time and load average.

Thank you

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 1, 2016, 9:33pm UTC](https://discuss.elastic.co/t/about-rejectting-query/43098/2 "2016-03-01T21:33:58Z")

</div>

> [@whzcl](#):
>
> 1. What's the mechanism of rejectting query for ES.
> 2. How to configure the mechanism of reject query if I want to block some bad query that will make the elasticsearch suffer high query time and load average.

There are currently none.

5.X is likely to have something to manage this though.

---

<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, 11:12pm UTC](https://discuss.elastic.co/t/about-rejectting-query/43098/3 "2017-07-05T23:12:17Z")

</div>


