【发布时间】:2020-10-31 13:20:02
【问题描述】:
我的弹性搜索中有以下映射
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"tag": {
"type": "long"
},
"level": {
"type": "integer"
},
"fieldIn": {
"type": "long",
"index": "no"
},
"fieldOut": {
"type": "long",
"index": "no"
},
}
我需要将 fieldIn/fieldOut 的数据类型更改为 String。由于它是非索引的,我是否需要强制重新索引所有旧文档
【问题讨论】:
-
感谢您接受答案,您是否也可以通过单击我答案前面的向上箭头来为答案投票,如果您遇到困难,请参阅meta.stackexchange.com/questions/173399/…