ElasticSearch
1.Content-Type header [] is not supported
curl -H "Content-Type: application/json" -XPUT '168.63.1.61:9200/enterprise_data_gov_20170314/enterprise_data_gov/华泰证券股份有限公司?pretty' -d '{json串}'
_id为中文时需要使用 url编码工具 ,对中文字符进行编码然后放入请求中。
2.Compressor detection can only be called on some xcontent
将json串的空格去掉,可以用下面提供的在线工具处理。