ElasticSearch reindex报错:the final mapping would have more than 1 type
学习了:https://blog.csdn.net/qq_22195987/article/details/80196234
原文膜拜:
在Elasticsearch 6.0.0或更高版本中创建的索引只包含一个mapping type。 在5.x中使用multiple mapping types创建的索引将继续像以前一样在Elasticsearch 6.x中运行。 Mapping types将在Elasticsearch 7.0.0中完全删除。 Indices created in Elasticsearch 6.0.0 or later may only contain a single mapping type. Indices created in 5.x with multiple mapping types will continue to function as before in Elasticsearch 6.x. Mapping types will be completely removed in Elasticsearch 7.0.0. https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html#_index_per_document_type