Span_multi wildcard query: determining max clause count value

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

Can someone please answer or share some pointers? Thanks

@elastic_team can I please have your attention? Thanks

@elastic_team trying again!

hellooooo!

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