# Root type mapping not empty after parsing

**URL:** <https://discuss.elastic.co/t/root-type-mapping-not-empty-after-parsing/20882>\
**Category:** Elasticsearch\
**Created:** [November 21, 2014, 2:52am UTC](https://discuss.elastic.co/t/root-type-mapping-not-empty-after-parsing/20882 "2014-11-21T02:52:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samatha\_kankipati](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@samatha\_kankipati](https://discuss.elastic.co/u/samatha_kankipati)\
**Post date:** [November 21, 2014, 2:52am UTC](https://discuss.elastic.co/t/root-type-mapping-not-empty-after-parsing/20882/1 "2014-11-21T02:52:52Z")

</div>

Hi

I am trying to upgrade from ES 0.90.2 to 1.4.0

I am using java api to set the settings of index, this was working fine  
with 0.90.2

client.admin().indices().prepareCreate(indexName).setSettings(\_).execute().actionGet()

here are my settings:  
{  
"index": {  
"analysis": {  
"analyzer": {  
"keyword\_lowercase": {  
"type": "custom",  
"tokenizer": "keyword",  
"filter": "lowercase"  
},  
"standard\_lowercase": {  
"type": "custom",  
"tokenizer": "standard",  
"filter": "lowercase"  
}  
}  
}  
}  
}

Getting Root type mapping not empty after parsing error now..  
Can you please suggest any solutions?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b5c74a16-0ba3-436d-8e6f-87c52d1f31e2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b5c74a16-0ba3-436d-8e6f-87c52d1f31e2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:48am UTC](https://discuss.elastic.co/t/root-type-mapping-not-empty-after-parsing/20882/2 "2017-07-06T00:48:29Z")

</div>


