kibana&es 版本7.4.1错误信息:
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [doc : {properties={englishName={type=keyword}, image={type=keyword}, publishTime={type=date}, code={type=keyword}, color={type=text}, definitionColorName={type=keyword}, description={type=keyword}, categoryCode={type=keyword}, inventory={type=keyword}, price={type=double}, supplier={type=keyword}, context={type=text}, style={type=keyword}, sku={type=keyword}}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [doc : {properties={englishName={type=keyword}, image={type=keyword}, publishTime={type=date}, code={type=keyword}, color={type=text}, definitionColorName={type=keyword}, description={type=keyword}, categoryCode={type=keyword}, inventory={type=keyword}, price={type=double}, supplier={type=keyword}, context={type=text}, style={type=keyword}, sku={type=keyword}}}]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [doc : {properties={englishName={type=keyword}, image={type=keyword}, publishTime={type=date}, code={type=keyword}, color={type=text}, definitionColorName={type=keyword}, description={type=keyword}, categoryCode={type=keyword}, inventory={type=keyword}, price={type=double}, supplier={type=keyword}, context={type=text}, style={type=keyword}, sku={type=keyword}}}]"
}
},
"status": 400
}
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [doc : {properties={englishName={type=keyword}, image={type=keyword}, publishTime={type=date}, code={type=keyword}, color={type=text}, definitionColorName={type=keyword}, description={type=keyword}, categoryCode={type=keyword}, inventory={type=keyword}, price={type=double}, supplier={type=keyword}, context={type=text}, style={type=keyword}, sku={type=keyword}}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [doc : {properties={englishName={type=keyword}, image={type=keyword}, publishTime={type=date}, code={type=keyword}, color={type=text}, definitionColorName={type=keyword}, description={type=keyword}, categoryCode={type=keyword}, inventory={type=keyword}, price={type=double}, supplier={type=keyword}, context={type=text}, style={type=keyword}, sku={type=keyword}}}]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [doc : {properties={englishName={type=keyword}, image={type=keyword}, publishTime={type=date}, code={type=keyword}, color={type=text}, definitionColorName={type=keyword}, description={type=keyword}, categoryCode={type=keyword}, inventory={type=keyword}, price={type=double}, supplier={type=keyword}, context={type=text}, style={type=keyword}, sku={type=keyword}}}]"
}
},
"status": 400
}
2 个回复
WZQ
赞同来自:
PUT /fond_publish
{
"mappings": {
"doc": {
"properties": {
"code": {
"type": "keyword"
},
"sku": {
"type": "keyword"
},
"categoryCode": {
"type": "keyword"
},
"supplier": {
"type": "keyword"
},
"price": {
"type": "double"
},
"style": {
"type": "keyword"
},
"englishName": {
"type": "keyword"
},
"color": {
"type": "text"
},
"definitionColorName": {
"type": "keyword"
},
"description": {
"type": "keyword"
},
"image": {
"type": "keyword"
},
"inventory": {
"type": "keyword"
},
"publishTime": {
"type": "date"
},
"context": {
"type": "text"
}
}
}
}
}
God_lockin
赞同来自: