# Index creation in Elastic Search using Python in 5.4 Version

**URL:** <https://discuss.elastic.co/t/index-creation-in-elastic-search-using-python-in-5-4-version/246674>\
**Category:** Elasticsearch\
**Created:** [August 27, 2020, 6:02pm UTC](https://discuss.elastic.co/t/index-creation-in-elastic-search-using-python-in-5-4-version/246674 "2020-08-27T18:02:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 27, 2020, 6:02pm UTC](https://discuss.elastic.co/t/index-creation-in-elastic-search-using-python-in-5-4-version/246674/1 "2020-08-27T18:02:02Z")

</div>

I am not able to create index in Elastic Search for version 5.4.

Same code i am able to do it for 7.8 Version

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 27, 2020, 6:02pm UTC](https://discuss.elastic.co/t/index-creation-in-elastic-search-using-python-in-5-4-version/246674/2 "2020-08-27T18:02:16Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67a5bcfbf8a14749818af97da284b1a9fb470f27.png)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 29, 2020, 10:32am UTC](https://discuss.elastic.co/t/index-creation-in-elastic-search-using-python-in-5-4-version/246674/3 "2020-08-29T10:32:43Z")

</div>

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with `</>` icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

Here you need in old versions to add the type name in the mapping.  
But you should not use a version which is not maintained anymore and use 7.9 instead.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 26, 2020, 10:32am UTC](https://discuss.elastic.co/t/index-creation-in-elastic-search-using-python-in-5-4-version/246674/4 "2020-09-26T10:32:45Z")

</div>

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