如下所示:
http://localhost:9200/xunwu/_mapping/house
{
"house": { //type名
"properties": {
"testAdd": { //这个就是新增的字段
"type": "text",
"index": true,
"analyzer": "ik_smart",
"search_analyzer": "ik_smart"
}
}
}
}