Max_clause_count not being set in config file


(narinder.izap) #1

Hi

I am getting the error the "too many clauses" exception on some
particular keywords, So according to me, its crossing the *"max_clause_Count"
*for that query. I tried to set its value in the config file as

index.query.bool.max_clause_count : 10240

but after setting this value, when i restarted the index, it got failed to
start. but on removing the setting, it got started. so whats the wrong, can
you please tell me....

Thanks


(Karussell) #2
  1. show us your query as it is uncommon to have that many bool clauses
    produced
  2. use the forum before posting to it :wink:

http://groups.google.com/group/elasticsearch/browse_thread/thread/2eacb02872966de2/

Peter.

On 10 Jan., 12:55, Narinder Kaur narinder.k...@izap.in wrote:

Hi

I am getting the error the "too many clauses" exception on some
particular keywords, So according to me, its crossing the *"max_clause_Count"
*for that query. I tried to set its value in the config file as

index.query.bool.max_clause_count : 10240

but after setting this value, when i restarted the index, it got failed to
start. but on removing the setting, it got started. so whats the wrong, can
you please tell me....

Thanks


(Kartavya) #3

Hi Narinder,

Try to add single space in front of "index.query.bool.max_clause_count : 10240".

Hope that solve your problem.

Regards,
Pulkit Agrawal

On Tue, Jan 10, 2012 at 5:25 PM, Narinder Kaur narinder.kaur@izap.in wrote:

Hi

I am getting the error the "too many clauses" exception on some particular
keywords, So according to me, its crossing the "max_clause_Count" for that
query. I tried to set its value in the config file as

index.query.bool.max_clause_count : 10240

but after setting this value, when i restarted the index, it got failed to
start. but on removing the setting, it got started. so whats the wrong, can
you please tell me....

Thanks


(Shay Banon) #4

What is the failure that you get when you do set the setting? The setting
looks fine. Also, wich query did you use that you got this failure with max
clause count?

On Tue, Jan 10, 2012 at 1:55 PM, Narinder Kaur narinder.kaur@izap.inwrote:

Hi

I am getting the error the "too many clauses" exception on some
particular keywords, So according to me, its crossing the *"max_clause_Count"
*for that query. I tried to set its value in the config file as

index.query.bool.max_clause_count : 10240

but after setting this value, when i restarted the index, it got failed to
start. but on removing the setting, it got started. so whats the wrong, can
you please tell me....

Thanks


(system) #5