Search field fail after increase the numbers of limited field

Dear all
After my co worker increase the numbers of limit field when i needed to add more field to an index

"settings" : {
    "index.mapping.total_fields.limit": 2000
  },

now everytime i search something on that specific index i got an query_shard_exception
and when i check the detail of the error i see that

field expansion matches too many fields, limit: 1024, got: 1117

when i search for answer they say i should increase the indices.query.bool.max_clause_count
Are there any other way to fix this and if not can someone tell me how to change the above value

Thanks

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