Yaoyuanyuan0312@163.com

when execute this
curl -XPUT http://localhost:9200/test-index/test-type/_mapping -d'{
"properties":{
"name":{
"type":"string"
}
}‘
I get a error:
{"error":"MapperParsingException[failed to parse];nested:JsonParseException[Unrecognized token 'string': was expecting ('true','false' or 'Null')\n at Source: [B@150f1d6; line: 1, column: 32]]; ","status":4
C:\Users\admin\Downloads\curl-7.35.0-win64\bin>
Thanks!
(Sorry my english is poor)