提问要多花一点心思哦

es同一索引下,不同类型的相同字段mapping冲突问题

Elasticsearch | 作者 hemei124 | 发布于2016年08月08日 | 阅读数:11798

查看索引的mapping:
{
"index-XXX" : {
"mappings" : {
"type1" : {
"properties" : {
"3rdchanneid" : {
"type" : "string",
"index" : "not_analyzed"
}
}
},
"type2" : {
"properties" : {
"3rdchanneid" : {
"type" : "string"
}
}
}
}
后台一直输出[mapper [3rdchanneid] has different [index] values, mapper mapper [3rdchanneid] has different [analyzer]]
还造成这个索引的分片都不能用
已邀请:

shenxiang

赞同来自:

下面的也改为not_analyzed

要回复问题请先登录注册