es - elasticsearch mapping - 关于index的type houbbbbb 2021-03-18 78 阅读1分钟 世界上并没有完美的程序,但是我们并不因此而沮丧,因为写程序就是一个不断追求完美的过程。 问 :从什么时候起去除了index的type? 答 :从7.0开始 问 :如何将index的多type转为只有一个type? 答 : POST _reindex { "source": { "index": "twitter", "type": "user" }, "dest": { "index": "users", "type": "_doc" } }