m trying to curl -XPUT "http://localhost:9200/_cluster/settings -H 'Content-Type: application/json'{"transient":{"search.max_buckets": 200000}} but am getting below error please correct me if i am wrong
C:\Users\ssuparna.TEMENOSGROUP>curl -XPUT "http://localhost:9200/_cluster/settings -H 'Content-Type: application/json'{"transient":{"search.max_buckets": 200000}}
curl: (3) [globbing] nested brace in column 87
Please help me to solve this
curl: (3) [globbing] nested brace in column 87
Hi @aaron-nimocks thanks for the code i have tried it but getting below error
C:\Users\ssuparna.TEMENOSGROUP>curl -XPUT "http://localhost:9200/_cluster/settings" -H 'Content-Type: application/json' -d'{ "transient": { "search.max_buckets": 200000 }}'
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}curl: (6) Could not resolve host: application
curl: (6) Could not resolve host: transient
curl: (3) [globbing] unmatched brace in column 1
curl: (6) Could not resolve host: search.max_buckets
curl: (6) Could not resolve host: 200000
curl: (3) [globbing] unmatched close brace/bracket in column 1
curl -XPUT "http://localhost:9200/_cluster/settings" -H 'Content-Type: application/json' -d'{"transient":{"search.max_buckets":200000}}'
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}curl: (6) Could not resolve host: application
That seems to be a problem with curl on Windows (have heard about this being an issue before), as it is not the same as on Linux. I am not a Windows user so can unfortunately not recommend other tools.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.