elasticsearch 设置mapping时出错

{
"mapping":{
"article":{
"properties":{
"id":{
"type":"long",
"store":true
},
"title":{
"type":"text",
"store":true,
"index":true,
"analyzer":"standard"
},
"content":{
"type":"text",
"store":true,
"index":true,
"analyzer":"standard"
}
}
}
}
}

下面是报的错

{
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "unknown key [mapping] for create index"
}
],
"type": "parse_exception",
"reason": "unknown key [mapping] for create index"
},
"status": 400
}

mapping——>mappings