Field expansion for [*] matches too many fields, limit: 1024, got: 1998

Hello,

We have recently moved from AWS ES 5.x to 7.10. While performing search operation I go get the above error. In total my fields are between 2500 to 4000 for now. I know these values are not good, but this somehow worked on the old ES cluster.
I have already increased the value for indices.query.bool.max_clause_count to 2048 for now . I see this is a common problem.

Can you guide me any documentation for the fix or increasing indices.query.bool.max_clause_count or reducing fields are the only solution?

Regards
Ashish

Hi Ashish, we currently don't provide support for AWS ES, please refer to their discussion forum to get specific support (we can't be sure if differences exists in implementation/configuration/behaviour between ES and the OpenSearch code).
The only suggestion out of my mind is to increase the value of index.mapping.total_fields.limit

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