# Mappings is no longer a dictionary in 7.x

**URL:** <https://discuss.elastic.co/t/mappings-is-no-longer-a-dictionary-in-7-x/222049>\
**Category:** Elasticsearch\
**Created:** [March 4, 2020, 10:57am UTC](https://discuss.elastic.co/t/mappings-is-no-longer-a-dictionary-in-7-x/222049 "2020-03-04T10:57:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andre1968](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@Andre1968](https://discuss.elastic.co/u/Andre1968)\
**Post date:** [March 4, 2020, 10:57am UTC](https://discuss.elastic.co/t/mappings-is-no-longer-a-dictionary-in-7-x/222049/1 "2020-03-04T10:57:03Z")

</div>

Hi,

We are stuck with a problem. Below is part of our code:

//OLD  
Nest.CreateIndexDescriptor descriptor = new Nest.CreateIndexDescriptor(indexName).Settings(s =\> indexSettings).Mappings(ms =\> ms.Map(m =\> m.AutoMap()));

We've changed this to

//NEW  
Nest.CreateIndexDescriptor descriptor = new Nest.CreateIndexDescriptor(indexName).Settings(s =\> indexSettings).Map(m =\> m.AutoMap());

After publishing the code we receive the following error:

nl.qompas.search.indexing.import.ElasticSearchImportException: Failed to parse mapping [properties]: Root mapping definition has unsupported parameters: [inhoud : {boost=1.0, type=text}] [languages : {include\_in\_parent=true, type=nested, properties={keywords={boost=4.0, type=keyword}, contents={boost=1.0, type=text}, intro={type=text}, graduated={type=text}, name={boost=6.0, type=text}, forWho={type=text}, uniqueID={type=long}}}] [afgestudeerd : {type=text}] [naam : {boost=6.0, type=text}] [trefwoorden : {boost=4.0, type=keyword}] [voorWie : {type=text}] [uniqueID : {type=long}] [introtekst : {type=text}] [croho : {type=long}], Error van methode: CreateIndex (Invalid NEST response built from a unsuccessful (400) low level call on PUT: /studies\_develop1 # Audit trail of this API call:

The collegue who created the project is no longer working here. We have no clue for any solution.

Help is welcome.

Greetings,

André

---

<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:** [April 1, 2020, 10:57am UTC](https://discuss.elastic.co/t/mappings-is-no-longer-a-dictionary-in-7-x/222049/2 "2020-04-01T10:57:10Z")

</div>

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