title: ElasticSearch Illegal Argument Exception
body: <p>I'm using Elasticsearch latest version on Ubuntu 16.04 and I'm having a little issue on putting data on it.</p>
  
  <p>here is my json document (relevant part of it)</p>
  
  <pre><code>{   "products" : {
      "232CDFDW89ENUXRB" : {
          "sku" : "232CDFDW89ENUXRB",
          "productFamily" : "Compute Instance",
          "attributes" : {
              "servicecode" : "AmazonEC2",
              "location" : "US East (N. Virginia)",
              "locationType" : "AWS Region",
              "instanceType" : "d2.8xlarge",
              "currentGeneration" : "Yes",
              "instanceFamily" : "Storage optimized",
              "vcpu" : "36",
              "physicalProcessor" : "Intel Xeon E5-2676v3 (Haswell)",
              "clockSpeed" : "2.4 GHz",
              "memory" : "244 GiB",
              "storage" : "24 x 2000 HDD",
              "networkPerformance" : "10 Gigabit",
              "processorArchitecture" : "64-bit",
              "tenancy" : "Host",
              "operatingSystem" : "Linux",
              "licenseModel" : "No License required",
              "usagetype" : "HostBoxUsage:d2.8xlarge",
              "operation" : "RunInstances",
              "enhancedNetworkingSupported" : "Yes",
              "preInstalledSw" : "NA",
              "processorFeatures" : "Intel AVX; Intel AVX2; Intel Turbo" }
          }
      }   
  }
  </code></pre>
  
  <p>and here's the returning response from ES when i try "PUT <a href="http://localhost:9200/aws" rel="nofollow noreferrer">http://localhost:9200/aws</a>"</p>
  
  <pre><code>{ "error": {
  "root_cause": [
    {
      "type": "illegal_argument_exception",
      "reason": "unknown setting [index.products.232CDFDW89ENUXRB.attributes.clockSpeed] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
    }
  ],
  "type": "illegal_argument_exception",
  "reason": "unknown setting [index.products.232CDFDW89ENUXRB.attributes.clockSpeed] please check that any required plugins are installed, or check the breaking changes documentation for removed settings" }, "status": 400 }
  </code></pre>
  
  <p>Seems to me ES thinks that "clockSpeed" is some sort of setting...?
  I was hoping to use dynamic mapping to speed the process up instead of first mapping all the document and then importing it in ES.<br>
  Any suggestion?</p>