Help Center/
Cloud Search Service/
User Guide (Ankara Region)/
FAQs/
Functions/
How Do I Create a Type Under an Index in an Elasticsearch 7.x Cluster?
Updated on 2024-12-02 GMT+08:00
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. "
Parent topic: Functions
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot