#获取ES所有索引
GET _cat/indices
#创建索引
PUT task_info
#创建索引文档结构
PUT task_info/_mapping
{
"properties": {
"robotName":{
"type": "text",
"fielddata": true,
"fields": {
"raw":{
"type":"keyword"
}
}
},
"robotNo":{
"type": "text",
"fielddata": true,
"fields": {
"raw":{
"type":"keyword"
}
}
},
"cpuPer":{
"type": "double"
},
"createDate":{
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss||yyyy-