Hi,
I am following documentation explained via 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html

When I run this command, I got acknowledged= True, followed by error 
messages below.

C:\>curl -XPUT "localhost:9200/qsearch_perf/_settings" -d ' { "index" : { 
"number_of_replicas" : 4   } }'

{"acknowledged":true}curl: (3) [globbing] unmatched brace in column 1
curl: (6) Could not resolve host: index
curl: (7) Failed to connect to  port 80: Connection refused
curl: (3) [globbing] unmatched brace in column 1
curl: (6) Could not resolve host: number_of_replicas
curl: (7) Failed to connect to  port 80: Connection refused
curl: (6) Could not resolve host: 4
curl: (3) [globbing] unmatched close brace/bracket in column 1
curl: (3) [globbing] unmatched close brace/bracket in column 1

Can you pls let me know what's wrong with my command? 
I have closed qsearch_perf index before I run this command. 

Besides, I can't run this command in separate lines in CURL, It prompt me 
error. I have to run this command in 1 line in curl.
Is this expected behavior in CURL?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1e03f32a-45d1-4e2f-a98a-cd7b6ed22bbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to