现在我想把url字段由not_analyzed改为analyzed,但是看了官方文档,好像不能修改,请问是否有方法能解决这个问题??"mappings": {
"data": {
"properties": {
"context": {
"type": "string"
},
"title": {
"type": "string"
},
"issuedate": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"url": {
"index": "not_analyzed",
"type": "string"
},
"crawldate": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
}
}
"data": {
"properties": {
"context": {
"type": "string"
},
"title": {
"type": "string"
},
"issuedate": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"url": {
"index": "not_analyzed",
"type": "string"
},
"crawldate": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
}
}
4 个回复
yangruideyang
赞同来自:
Will - 8
赞同来自:
xingoo
赞同来自:
novia - 1&0
赞同来自: