Hi,
We are hitting the max clause count exceeded exception for the wildcard span_multi queries. While the exception indicates the clause count has exceeded threshold (1024). It does not tell what was the actual clause count. In lack of this information, how do you optimize the indices.query.bool.max_clause_count
setting? Besides, the documentation says setting a "higher value can lead to performance degradations and memory issues, especially in clusters with a high load or few resources.". I suppose this also depends on the resource dedicated to the cluster. So what is the best way to test & benchmark the performance of cluster to determine at what max_clause_count
setting value the specific cluster performance is degrading?
Thanks