无论才能、知识多么卓著,如果缺乏热情,则无异纸上画饼充饥,无补于事。

kibana dev tools不能用聚合

Kibana | 作者 dj | 发布于2018年04月13日 | 阅读数:2936

用每个字段都提示Set fielddata=true on [XXXXX] in order to load fielddata in memory by uninverting the inverted index
,这玩意儿是需要在哪儿设置么
TIM截图20180413200024.png
已邀请:

huangwjwork

赞同来自:

不是get?

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

interest类型是text类型,改成keyword 正确写法:interest.keyword

yayg2008

赞同来自:

除了text之外的其他常见类型都默认有docvalues,用于聚合、排序。而text没有,通常也不建议用这个类型去做聚合。如果非要聚合,需要在mapping的时候指定启用fileddata。
https://www.elastic.co/guide/e ... .html

要回复问题请先登录注册