title: Getting illegal_argument_exception when trying to create index with mapping
body: <p>I'm on elasticsearch 6.6.0 and I'm trying to create and index it fails with an illegal_argument_exception :</p>
  
  <pre><code>[root_cause] =&gt; Array
                  (
                      [0] =&gt; stdClass Object
                          (
                              [type] =&gt; illegal_argument_exception
                              [reason] =&gt; unknown setting [index.mappings.place.properties.address.fields.city.fields.de.analyzer] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
                          )
  
                  )
  
              [type] =&gt; illegal_argument_exception
              [reason] =&gt; unknown setting [index.mappings.place.properties.address.fields.city.fields.de.analyzer] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
              [suppressed] =&gt; Array
                  (
                      [0] =&gt; stdClass Object
                          (
                              [type] =&gt; illegal_argument_exception
                              [reason] =&gt; unknown setting [index.mappings.place.properties.address.fields.city.fields.de.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
                          )...
  </code></pre>
  
  <p>My mapping : <a href="http://myjson.com/1559qq" rel="nofollow noreferrer">http://myjson.com/1559qq</a></p>
  
  <p>At this point I don't know what am I doing wrong. According to the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/6.6/multi-fields.html" rel="nofollow noreferrer">documentation</a>  I should be able to create my index with fields containing other properties.  </p>
  
  <p><strong>[edit]</strong> 
  So I had multiple problems :</p>
  
  <ul>
  <li>wrong placement of closing curly brace on settings as pointed by everyone</li>
  <li>string is not longer a type and should be replaced by text or keyword as pointed by @IanGabes</li>
  <li>text + not_analyzed has to be replaced by keyword</li>
  <li>using a keyword (type) as the name of a field</li>
  <li>wrong placement of closing curly brace on address</li>
  </ul>
  
  <p>Thank you a lot everyone.</p>