# 5.0.0-alpha2: how to set index.query.bool.max\_clause\_count?

**URL:** <https://discuss.elastic.co/t/5-0-0-alpha2-how-to-set-index-query-bool-max-clause-count/49816>\
**Category:** Elasticsearch\
**Created:** [May 11, 2016, 7:03pm UTC](https://discuss.elastic.co/t/5-0-0-alpha2-how-to-set-index-query-bool-max-clause-count/49816 "2016-05-11T19:03:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimyoo](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jimyoo](https://discuss.elastic.co/u/jimyoo)\
**Post date:** [May 11, 2016, 7:03pm UTC](https://discuss.elastic.co/t/5-0-0-alpha2-how-to-set-index-query-bool-max-clause-count/49816/1 "2016-05-11T19:03:28Z")

</div>

Index level setting is not allowed in elastic search.yml with 5.0.0.  
And with \_setting or \_template  
{  
"error": {  
"root\_cause": [  
{  
"type": "illegal\_argument\_exception",  
"reason": "unknown setting [index.query.bool.max\_clause\_count]"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "unknown setting [index.query.bool.max\_clause\_count]"  
},  
"status": 400  
}

Any insight or work-around?

---

<div class="post-metadata">

**Author:** ![venkata\_sreekanth\_bh](https://avatars.discourse-cdn.com/v4/letter/v/65b543/32.png) [@venkata\_sreekanth\_bh](https://discuss.elastic.co/u/venkata_sreekanth_bh)\
**Post date:** [March 24, 2017, 7:26pm UTC](https://discuss.elastic.co/t/5-0-0-alpha2-how-to-set-index-query-bool-max-clause-count/49816/2 "2017-03-24T19:26:02Z")

</div>

The key name has changed to indices.query.bool.max\_clause\_count

---

<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:01pm UTC](https://discuss.elastic.co/t/5-0-0-alpha2-how-to-set-index-query-bool-max-clause-count/49816/3 "2017-07-05T22:01:54Z")

</div>


