每当我尝试提供以下映射时,我都会收到错误消息。
您需要为“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"
}
}
}
}