doc-exports/docs/css/umn/css_02_0132.html
Zheng, Xiu 5b5876528a CSS UMN 22.5.1 Version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com>
Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
2023-03-29 17:17:49 +00:00

1.2 KiB

How Do I Create a Type Under an Index in an Elasticsearch 7.x Cluster?

In Elasticsearch 7.x and later versions, types cannot be created for indexes.

If you need to use types, add include_type_name=true to the command. For example:

PUT _template/urldialinfo_template?include_type_name=true

After the command is executed, the following information is displayed:

"#! Deprecation: [types removal] Specifying include_type_name in put index template requests is deprecated. The parameter will be removed in the next major version. "