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

elasticsearch2.2 ,屏蔽_index,_type,_score的显示

Elasticsearch | 作者 gfswsry | 发布于2016年10月10日 | 阅读数:5324

在es查询结果中,我想不显示_index、_type、_score这些属性,怎么配置?
已邀请:

要回复问题请先登录注册