尝试在对象数据类型中创建映射嵌套数据类型时遇到问题 . 映射创建成功但在弹性搜索中插入文档时出错 . 如何解决MapperParsingException:[test]的对象映射试图解析为对象错误:[DeveloperDetails.DeviceProtocolList.MED]试图将field [null]解析为对象,但找到了具体的值 .

例如“DeviceProtocolList”:{“type”:“object”,“properties”:{“ACT”:{“type”:“nested”},“MED”:{“type”:“nested”},“WLB “:{”type“:”nested“},”BEA“:{”type“:”nested“},”BBC“:{”type“:”nested“}}},