求助:我建mapping的时候time字段明明是date类型,最报错说time字段最好设置Set fielddata=true,但会占用大量内存,求助求助
Elasticsearch | 作者 xiangxiaolu | 发布于2018年12月25日 | 阅读数:8484
Caused by: org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: : Fielddata is disabled on text fields by default. Set fielddata=true on [time] 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.
5 个回复
zz_hello
赞同来自: xiangxiaolu
GET /index/_mapping
查看到底是否是date类型。
zz_hello
赞同来自:
hm
赞同来自:
xiangxiaolu - 菜鸟
赞同来自:
God_lockin
赞同来自: