往es中存储数据,严格模式
日志记录 mapping set to strict, dynamic introduction of [new_conf_tags] within [conference] is not allowed
原因:严格模式下禁止往es的mapping中新增字段,需要提前设置好mapping
查看索引的mapping结构:
curl -XGET 'http://localhost:9200/索引名/_mapping/类型名'
发现conference嵌套结构内缺少new_conf_tags字段
解决方案:
重新创建索引结构,增加new_conf_tags字段