ES index 里创建多个type 异常
2019-04-08 本文已影响0人
良人与我
异常如下
Rejecting mapping update to [] as the final mapping would have more than 1 type
因为 从6.0后,index里建多个types 不被支持了。
Multiple mapping types are not supported in indices created in 6.0
image.png
参考
https://discuss.elastic.co/t/unable-to-create-index-with-more-that-1-type-in-6-x/106089
https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-changes-6.0.html