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

ES5.1中put _mapping的问题

匿名 | 发布于2017年02月03日 | 阅读数:2779

怎么删除已有的index中的一个type的mapping?
已邀请:

rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk

赞同来自: wangjueying

Delete Mapping

It is no longer possible to delete the mapping for a type. Instead you should delete the index and recreate it with the new mappings.
 
官网

要回复问题请先登录注册