# Migrating from ES 5.6 to ES 7.3

**URL:** <https://discuss.elastic.co/t/migrating-from-es-5-6-to-es-7-3/196324>\
**Category:** Elasticsearch\
**Created:** [August 22, 2019, 12:38pm UTC](https://discuss.elastic.co/t/migrating-from-es-5-6-to-es-7-3/196324 "2019-08-22T12:38:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![udit\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/udit_kumar/32/52815_2.png) [@udit\_kumar](https://discuss.elastic.co/u/udit_kumar)\
**Post date:** [August 22, 2019, 12:38pm UTC](https://discuss.elastic.co/t/migrating-from-es-5-6-to-es-7-3/196324/1 "2019-08-22T12:38:13Z")

</div>

mapping\_data = json.dumps({  
MAPPING\_NAME: {  
"properties": {  
"file": {  
"type": "attachment",  
"fields": {  
"content": {"store": "yes"},  
"name": {"store": "yes"},  
"title": {"store": "yes"},  
"date": {"store": "yes"},  
"author": {"store": "yes"},  
"keywords": {"store": "yes"},  
"content\_type": {"store": "yes"},  
"content\_length": {"store": "yes"},  
"language": {"store": "yes"}  
}  
},  
"my\_id": {  
"type": "integer"  
},  
"added\_on": {  
"type": "date"  
},  
"votes": {  
"type": "integer"  
}  
}  
}  
})

map\_r = requests.put(ELS\_PUT\_MAPPING\_URL, mapping\_data, auth=(ELS\_USER, ELS\_PASS))

It is working fine with ElasticSearch 5.6 using mapper-attachment plugin but I am unable to implement is using ingest plugin on ES 7.3,  
Thanks in advance

---

<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 19, 2019, 12:38pm UTC](https://discuss.elastic.co/t/migrating-from-es-5-6-to-es-7-3/196324/2 "2019-09-19T12:38:19Z")

</div>

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