# Too\_many\_clauses: maxClauseCount is set to 1024 issue : Magento 2

**URL:** https://discuss.elastic.co/t/too-many-clauses-maxclausecount-is-set-to-1024-issue-magento-2/94330
**Category:** Elasticsearch
**Created:** [July 24, 2017, 12:54pm UTC](https://discuss.elastic.co/t/too-many-clauses-maxclausecount-is-set-to-1024-issue-magento-2/94330 "2017-07-24T12:54:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Keyur\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keyur\_Shah](https://discuss.elastic.co/u/Keyur_Shah)
#### Post date: [July 24, 2017, 12:54pm UTC](https://discuss.elastic.co/t/too-many-clauses-maxclausecount-is-set-to-1024-issue-magento-2/94330/1 "2017-07-24T12:54:55Z")

</div>

Hi,

Right now I am using Magento 2 webshop EE with elastic search feature. and I have 50+ k products in my webshop. Whenever I am searching a product with long name I am getting response like,

Too\_many\_clauses: maxClauseCount is set to 1024 issue

After reading some threads I get to know If you have large catalog then you have to Increase Its value, so I creased the value to 40000, and restared Elastic search. But still facing the same Issue. Could anyone give me somehints on this ?

Best,  
Keyur

---

<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: [August 21, 2017, 12:54pm UTC](https://discuss.elastic.co/t/too-many-clauses-maxclausecount-is-set-to-1024-issue-magento-2/94330/2 "2017-08-21T12:54:57Z")

</div>

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