【发布时间】:2019-07-01 17:22:51
【问题描述】:
每当我尝试提供以下映射时都会出错。
你需要为“copy_to”做些什么吗?
PUT myindex/mytype/_mapping
{
"mappings": {
"properties": {
"manufacturer": {
"type": "string",
"copy_to": "full_make_model_name"
},
"name": {
"type": "string",
"copy_to": "full_make_model_name"
},
"full_make_model_name": {
"type": "string",
"index": "analyzed"
}
}
}
}
【问题讨论】:
标签: elasticsearch elasticsearch-2.0