{"error":{"root_cause":[{"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict,

报错信息:

{"error":{"root_cause":[{"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [created_by] within [layout_workorder] is not allowed"}],"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [created_by] within [layout_workorder] is not allowed"},"status":400}

问题描述:

这个地方就是 created_by 这个字段在  layout_workorder 索引 / Type 中不存在,这里需要检查一下是否存在于这个 索引 / type 中。

你可能感兴趣的:(Spark)