# Mapping issues following upgrade

**URL:** <https://discuss.elastic.co/t/mapping-issues-following-upgrade/44591>\
**Category:** Elasticsearch\
**Created:** [March 16, 2016, 4:49pm UTC](https://discuss.elastic.co/t/mapping-issues-following-upgrade/44591 "2016-03-16T16:49:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcinnes01](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mcinnes01](https://discuss.elastic.co/u/mcinnes01)\
**Post date:** [March 16, 2016, 4:49pm UTC](https://discuss.elastic.co/t/mapping-issues-following-upgrade/44591/1 "2016-03-16T16:49:17Z")

</div>

Hi,

I am currently upgrading from elasticsearch 1.1.0 with couchbase 2.5 to ES 2.1.1 and couchbase 4, with the latest transport plugin. This is so that I can use Kibana 4.3, I've got everything setup but am having major issues with the mappings for elastic search.

I've been reading the following, however I just wanted some advice.  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking\_20\_mapping\_changes.html#migration-meta-fields](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html#migration-meta-fields)

It seems no like you can't have any types with the same name as a property, and properties can't have the same name as properties of another type, is this correct?

So currently I have a type "image"

```
					"image" : {
						"type" : "string",
						"index" : "no",
						"store" : false
					},

```

Then in several types I have properties that contain "image"

```
					"region" : {
						"properties" : {
							"aggregation" : {
								"type" : "string",
								"index" : "not_analyzed",
								"store" : false
							},
							"code" : {
								"type" : "string",
								"index" : "not_analyzed",
								"store" : false
							},
							"image" : {
								"type" : "string",
								"index" : "no",
								"store" : false
							},
							"title" : {
								"type" : "string",
								"index" : "analyzed",
								"store" : false
							}
						}
					},

```

Then there are other properties like title, aggregation, etc that are present in many types.

Any help would be much appreciated.

Andy

---

<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:** [July 5, 2017, 11:07pm UTC](https://discuss.elastic.co/t/mapping-issues-following-upgrade/44591/2 "2017-07-05T23:07:51Z")

</div>

Closed on July 5, 2017, 11:07pm UTC


