ElasticSearch upgrade 6.7 to 7.8

Recently i have upgraded from 6.7 to 7.8 in a single node server.Now i am facing below error while trying to clear/reindex from the application server.

**[error]**   **Message: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Types** 

**cannot be provided in put mapping requests, unless the include_type_name** 

**parameter is set to** 

**true."}],"type":"illegal_argument_exception","reason":"Types cannot be** 

**provided in put mapping requests, unless the include_type_name parameter is** 

**set to true."},"status":400}**

Could you please suggest how to fix this issue?

Look here https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html for the include_type_name parameter that is mentioned.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.