n_rts 2017-12-07 11:34 采纳率: 0%
浏览 1497
已采纳

elasticsearch update-mapping 问题

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官网

图片说明

  • 写回答

1条回答 默认 最新

  • shsongtao 2017-12-11 09:29
    关注

    在es里好像不能直接的update mapping吧 解决方案都是类似于重新建立mapping reindex一遍 或者将index alias 再mapping回来 还是要对里面的内容进行index的

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已采纳回答 6月10日