how to update existing mapping?

Updating existing mappings

Other than where documented, existing type and field mappings cannot be updated. Changing the mapping would mean invalidating already indexed documents. Instead, you should create a new index with the correct mappings and reindex your data into that index.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 江正扬绝对是90后这个群体当中最浮躁的代表之一,江正扬毕业于一所985院校,原本毕业以后进了一家很不错的国企,可是...
    秦约取阅读 276评论 0 3
  • -1- 昨天,请几位好友帮我将上一篇文章《生涯,遇见你,遇见我(文末福利)》推广一下,发到各自的朋友圈里。特别感谢...
    絮玵_xuan阅读 232评论 0 0
  • 喜欢看一支笔的笔墨滑上纸张的过程 喜欢听画画时铅笔在白纸上发出的声音 喜欢闻一本书里字迹在书上散发的香气 喜欢偷偷...
    忧苜蓿阅读 134评论 0 1