问题: xxx不是nested类型。
查找过程: 通过GET /(索引)/_mapping查看,发现类型不对
原因: 我是还没建索引就直接通过Java插入数据了,他自动建的索引类型不是我想要的
解决: 把自动建的哪个索引删掉,重新创建索引,索引创建好再插入数据
ES——failed to create query: [nested] nested object under path [xxx] is not of nested type
于 2021-08-18 10:18:49 首次发布