i studying elasticsearch. and contact error i don't know resolve this problem.
my elastic version 0.9 my java version 1.7 my linux centos 6.X
i want create document 'euc-kr' charset. but error occured.
this putty terminal code
# curl -XPOST http://localhost:9200/korea -d '{"mappings" : { "car" : { "properties" : { "name" : { "type" : "string" }, "detail" : { "type" : "string", "index" : "analyzed", "fields" : { "details" : { "type" : "string", "index" : "not_analyzed" } } } }}}}'
# curl -XPOST http://localhost:9200/korea/car -d '{ "name" : "제네시스", "detail" : "현대에서 만든 차" }'
{"error":"MapperParsingException[failed to parse [name]]; nested: JsonParseException[Invalid UTF-8 start byte 0xb3\n at [Source: [B@6118f155; line: 1, column: 16]]; ","status":400}