Solving too_many_nested_clauses with maxClauseCount set to 1024

Hi Team,
We are hitting below error and we understand that we are hitting this limit somewhere in our query.
"too_many_nested_clauses: Query contains too many nested clauses; maxClauseCount is set to 1024"
Question: How do I know what is the count that I am hitting in my query? So that it helps me set up the indices.query.bool.max_clause_count accordingly.

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