在 Mapping 里面,将 dynamic 参数设置成 strict 可以拒绝索引包含未知字段的文档。 此条 Tips 由 medcl 贡献。

关于使用聚合报错

Elasticsearch | 作者 401825317 | 发布于2017年06月20日 | 阅读数:8225

error:Fielddata is disabled on text fields by default. Set fielddata=true on [color] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead
这是什么错?
QQ截图20170620101208.png
已邀请:

401825317 - 90后it男

赞同来自:

要回复问题请先登录注册