ES 启动报错:Fielddata is disabled on text fields by default. Set fielddata=true on [type] in order

ES 启动报错“Fielddata is disabled on text fields by default. Set fielddatatrue on [your_field_name] in order to load fieldd

ES 启动报错

“Fielddata is disabled on text fields by default. Set fielddata=true on [your_field_name] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.”

当 [your_field_name]里面是type时,查找对应索引,我的是kibana索引,
原因:
可能自带kibana日志类型不匹配
解决:

PUT /.kibana/_mapping
{
  "properties": {
    "type":{
        "type":"text",
        "fielddata": true
    }
  }
}

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754940024a5217980.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信