How to set max_clause_count in elasticsearch?

(Madhan Kumar) #1

I keep getting max_clause_count error in elasticsearch.

I'm directly passing more than 2000 id's and i'm getting max_clause_count error.

How to overcome this...

(Michael McCandless) #2

Can you use TermsQuery instead of making a new query clause for each of your IDs?

Mike McCandless

(Madhan Kumar) #3

Thanks for your response.

Do you have any example or link to refer.

(Michael McCandless) #4


Mike McCandless

(system) #5

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