Elasticsearch 6.x 不支持多映射类型,8.x 不支持映射类型

6.x 不支持映射类型

Multiple mapping types are not supported in indices created in 6.0


The ability to have multiple mapping types per index has been removed in 6.0. New indices will be restricted to a single type. This is the first step in the plan to remove mapping types altogether. Indices created in 5.x will continue to support multiple mapping types.


原文:https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-changes-6.0.html

8.x 不支持映射类型

Removal of mapping types


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. Types will be deprecated in APIs in Elasticsearch 7.0.0, and completely removed in 8.0.0.


原文:https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html

你可能感兴趣的:(Elasticsearch)