“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 } } }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)