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

求API文档

Elasticsearch | 作者 yands | 发布于2015年06月03日 | 阅读数:4320

https://www.elastic.co/guide/e ... .html

上班不能上网,查API好难
已邀请:

要回复问题请先登录注册