【发布时间】:2015-05-06 09:49:23
【问题描述】:
我有一个带有以下映射的索引
{
"testmap": {
"mappings": {
"user": {
"properties": {
"plans": {
"type": "nested",
"properties": {
"user": {
"type": "long"
}
}
},
"status": {
"type": "integer"
}
}
}
}
}
}
我想删除状态字段映射。我不介意丢失该领域的数据。有没有删除状态字段的选项。 尝试过
curl -XDELETE http://192.168.2.2:9200/testmap/user/status
{"found":false,"_index":"testmap","_type":"user","_id":"status","_version":1
非常感谢您的帮助。谢谢你。
【问题讨论】:
标签: elasticsearch mapping