# 2.1 mapping \_ID error?

**URL:** https://discuss.elastic.co/t/2-1-mapping--id-error/39717
**Category:** Elasticsearch
**Created:** [January 21, 2016, 12:00am UTC](https://discuss.elastic.co/t/2-1-mapping--id-error/39717 "2016-01-21T00:00:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ksecrist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ksecrist/32/4471_2.png) [@ksecrist](https://discuss.elastic.co/u/ksecrist)
#### Post date: [January 21, 2016, 12:00am UTC](https://discuss.elastic.co/t/2-1-mapping--id-error/39717/1 "2016-01-21T00:00:15Z")

</div>

Hi everyone,

I'm exploring 2.1.1 after having a working "in dev" solution on 1.7.

I'm trying to define the following mapping:

```
                 "searchdocument" : {
                    "_id" : { "path" : "Id" },
					"properties" : {                            
						"file" : {
							"type" : "attachment",
							"fields" : {                                   
                                "content" : {"term_vector":"with_positions_offsets", "store":"yes" },
								"title" : {"store" : "yes"},
								"date" : {"store" : "yes"},
								"author" : {"store" : "yes"},
								"content_type" : {"store" : "yes"},
								"content_length" : {"store" : "yes"},
								"language" : {"store" : "yes"}
							}
						}
					}
				}

```

I keep getting this however:

MapperParsingException[\_id is not configurable]

(Yes I'm working with mapper-attachment.)

This worked before and allowed me to use my custom ID in Elastic.

BTW, where is the most recent 2.1.1 documentation to be found?

Thanks,  
-Kyle

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [January 21, 2016, 5:52am UTC](https://discuss.elastic.co/t/2-1-mapping--id-error/39717/2 "2016-01-21T05:52:05Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/2.1/index.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/index.html)

Specifically - [https://www.elastic.co/guide/en/elasticsearch/reference/2.1/breaking\_20\_mapping\_changes.html#migration-meta-fields](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/breaking_20_mapping_changes.html#migration-meta-fields)

---

<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:22pm UTC](https://discuss.elastic.co/t/2-1-mapping--id-error/39717/3 "2017-07-05T23:22:44Z")

</div>


