一个索引对应一个类型(需要设置映射)
https://www.cnblogs.com/liugx/p/8470369.html
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [movies] as the final mapping would have more than 1 type: [movie, ticket]"
}
],
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [movies] as the final mapping would have more than 1 type: [movie, ticket]"
},
"status": 400
}
文档更新时间: 2021-09-22 09:35 作者:admin