码迷,mamicode.com
首页 > 其他好文 > 详细

Kibana error " Fielddata is disabled on text fields by default. Set fielddata=true on [publisher] ..."

时间:2017-03-14 15:44:16      阅读:2382      评论:0      收藏:0      [点我收藏+]

标签:ping   err   time   special   his   text   cal   loading   field   

Reason of this error:
Fielddata can consume a lot of heap space, especially when loading high cardinality text fields. Once fielddata has been loaded into the heap, it remains there for the lifetime of the segment.
Also, loading fielddata is an expensive process which can cause users to experience latency hits. This is why fielddata is disabled by default.

Solution:
Exec the command in cmd line:
curl -XPUT http://localhost:9200/index -d ‘{ "mappings": { "type": { "properties": { "publisher": { "type": "text", "fielddata": true }
 } } } } }‘

Kibana error " Fielddata is disabled on text fields by default. Set fielddata=true on [publisher] ..."

标签:ping   err   time   special   his   text   cal   loading   field   

原文地址:http://www.cnblogs.com/elena-shao/p/6548780.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!