防止字段过多引起崩溃 index.mapping.total_fields.limit: 1000 一个索引的字段数量上限 index.mapping.depth.limit: 20 嵌套文档的层级数+ 嵌套文档的层级数 index.mapping.nested_fields.limit: 50 The maximum number of nested fields in an index 禁止自动创建索引:明确设置字段的分析器等 action.auto_create_index: false