This must be done at index creation time, or with the update-mapping API before the child type has been created.
这句该怎么理解?在child-type创建之前使用update-mapping API更新就可以建立父子关系吗?
关键是这个update-mapping API是什么?
引用出处:elastic官网
This must be done at index creation time, or with the update-mapping API before the child type has been created.
这句该怎么理解?在child-type创建之前使用update-mapping API更新就可以建立父子关系吗?
关键是这个update-mapping API是什么?
引用出处:elastic官网
在es里好像不能直接的update mapping吧 解决方案都是类似于重新建立mapping reindex一遍 或者将index alias 再mapping回来 还是要对里面的内容进行index的