我正在尝试实施micrometer Elasticsearch注册表,但出现以下错误
{
"took": 158,"errors": true,"items": [
{
"index": {
"_index": "metrics-2019-11","_type": "doc","_id": "PDzhnm4BiJBtovrbDFDF","status": 400,"error": {
"type": "illegal_argument_exception","reason": "Rejecting mapping update to [metrics--2019-11] as the final mapping would have more than 1 type: [_doc,doc]"
}
}
},{
"index": {
"_index": "metrics--2019-11","_id": "PTzhnm4BiJBtovrbDFDF",doc]"
}
}
}
]
}
我不得不说我不太理解该错误,千分尺是否试图将同一文档推入2个不同的键(doc和_doc)?
我在文档中看不到任何有关文档类型或其密钥或与之相关的东西
同样,索引尚未预先创建,我让千分尺创建它们,所以这怎么不起作用。
Elasticsearch 7.4.2
千分尺1.2.1
Spring boot 2.1.2