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

【已处理】

Elasticsearch | 作者 Mikeguo | 发布于2018年08月12日 | 阅读数:1532

对于Binary类型的字段,官方说是默认不会存储的,“Whether the field value should be stored and retrievable separately from the _sourcefield. Accepts true or false (default)”
 
我没有理解这里所讲的不做"store"是什么意思?
已邀请:

rochy - rochy_he

赞同来自:

不做 store 的意思就是说这个字段不能在查询的时候通过 addFields 方式单独获取到

要回复问题请先登录注册