0
我們試圖對低基數的字符串列之一強制執行全局序號以提高聚合。mapper_parsing_exception | Elasticsearch |全球序號
以下是該指數描述
{
"recharge_olap": {
"mappings": {
"recharge_olap": {
"_all": {
"enabled": true
},
"dynamic_templates": [
{
"string_fields": {
"mapping": {
"index": "not_analyzed",
"omit_norms": true,
"type": "string"
},
"match": "*",
"match_mapping_type": "string"
}
}
],
"properties": {
"@version": {
"type": "string",
"index": "not_analyzed"
},
"product_brand_name": {
"type": "string",
"index": "not_analyzed"
},
"vertical_name": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}
}
當我們試圖做全球序映射product_brand_name,我得到下面的錯誤?是否有任何可用的文檔,因爲我試圖找到但得不到多少幫助。
PUT /recharge_olap/_mapping/recharge_olap
{
"product_brand_name": {
"type": "string",
"doc_values": true,
"fielddata": {
"loading" : "eager_global_ordinals"
}
}
}
以下是答覆。
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [product_brand_name : {type=string, fielddata={loading=eager_global_ordinals}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [product_brand_name : {type=string, fielddata={loading=eager_global_ordinals}}]"
},
"status": 400
}
映射[實施例](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping的.html) – pkhlop