elasticsearch
This is an old revision of the document!
Elasticsearch
Errors
Error on content type header
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
curl -XPUT 'localhost:9200/_settings' -H 'Content-Type: application/json' -d ' { "index" : { "number_of_replicas" : 0 } }'
elasticsearch.1516293212.txt.gz · Last modified: 2020/08/10 02:28 (external edit)