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

Elasticsearch reindex script

Elasticsearch5.6 : [reindex] failed to parse field [script]

回复

Elasticsearcheboy 发起了问题 • 1 人关注 • 0 个回复 • 8991 次浏览 • 2017-09-18 17:55 • 来自相关话题

Elasticsearch5.6 : [reindex] failed to parse field [script]

回复

Elasticsearcheboy 发起了问题 • 1 人关注 • 0 个回复 • 8991 次浏览 • 2017-09-18 17:55 • 来自相关话题