Я пытаюсь реализовать реестр 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",
"_type": "doc",
"_id": "PTzhNm4BiJBtovrbDFDF",
"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]"
}
}
}
]
}
Я должен сказать, что я не очень понимаю ошибку, микрометр пытается выдвинуть тот же самый документ к2 разных ключа (doc и _doc)?
Я не вижу в документации ничего о типе документа или его ключе или обо всем, что также связано с
, индексы не были созданызаранее я позволю микрометру создать их, так как это не работает.
Elasticsearch 7.4.2
Микрометр 1.2.1
Пружинная загрузка 2.1.2