Updating indices.query.bool.max_clause_count in k8s environment

I tried to run a query on a recently updated 7.16.3 environment and got the following error ""field expansion matches too many fields, limit: 1024, got: 1328". I then went to set indices.query.bool.max_clause_count to 2048 in my configmap file.
##########

  • apiVersion: v1
    data:
    Elasticsearch.yml: |
    indices.query.bool.max_clause_count: 2048
    kind: ConfigMap
    ########

I applied the new configmap to my nodes they and the /opt/Elasticsearch/config/Elasticsearch.yml file on mypods was updated

$ view /opt/Elasticsearch/config/Elasticsearch.yml
indices.query.bool.max_clause_count: 2048
#########

However if I do a "GET /_cluster/settings/?include_defaults" from Kibana or a "curl -XGET http://localhost:9200/_cluster/settings/?include_defaults" from one of my nodes It still shows that my "max_clause_count" is at 1024

"max_clause_count" : "1024"

Do any of you have any ideas on how to change this setting or what I am doing wrong?

Thanks

Anyone?

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