# How can I configure my mappings if \_analyzer field has been removed in ES2.0?

**URL:** <https://discuss.elastic.co/t/how-can-i-configure-my-mappings-if--analyzer-field-has-been-removed-in-es2-0/34666>\
**Category:** Elasticsearch\
**Created:** [November 16, 2015, 10:52am UTC](https://discuss.elastic.co/t/how-can-i-configure-my-mappings-if--analyzer-field-has-been-removed-in-es2-0/34666 "2015-11-16T10:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![durgeshiitj](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@durgeshiitj](https://discuss.elastic.co/u/durgeshiitj)\
**Post date:** [November 16, 2015, 10:52am UTC](https://discuss.elastic.co/t/how-can-i-configure-my-mappings-if--analyzer-field-has-been-removed-in-es2-0/34666/1 "2015-11-16T10:52:10Z")

</div>

Hi, I have been using ES 1.4 for past 2-3 months and now wanted to move to ES 2.0.  
So while creating index I got to know that \_analyzer field has been removed and I am getting error.

```
"error": {
  "root_cause": [
     {
        "type": "mapper_parsing_exception",
        "reason": "Root mapping definition has unsupported parameters: [_analyzer: {path=languageAnalyzer}]"
     }
  ],

```

My mapping defined in template looks like this.

```
	"content" : {
			"_source" : { "enabled" : "true"},
				"_analyzer" : {
					"path" : "languageAnalyzer"
				},
				"properties" : {
					"languageAnalyzer" : { "type" : "string",
						"index" : "no"
						}

```

What field do i need to use now?

---

<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:38pm UTC](https://discuss.elastic.co/t/how-can-i-configure-my-mappings-if--analyzer-field-has-been-removed-in-es2-0/34666/2 "2017-07-05T23:38:13Z")

</div>


