title: How is dynamic strict applied in ElasticSearch
body: <p>I'm using ElasticSearch 2.3.3.</p>
  
  <p>I have the following mapping:</p>
  
  <pre><code>"mappings": {
    "entries": {
      "dynamic": "strict",
      "properties": {
        "Data": {
          "properties": {
            "Age": {
              "type": "long"
            },
            "BirthDate": {
              "type": "date",
              "format": "yyyy-MM-dd HH:mm:ss.SSS"
            },
            "Cash": {
              "type": "boolean"
            },
            "Cheque": {
              "type": "boolean"
            },
            "Comments": {
              "type": "string"
            },
            "CreditCard": {
              "type": "boolean"
            },
            "FirstName": {
              "type": "string",
              "index": "not_analyzed"
            },
            "Gender": {
              "type": "string",
              "index": "not_analyzed"
            },
            "LastName": {
              "type": "string",
              "index": "not_analyzed"
            }
          }
        },
        "MetaInfo": {
          "properties": {
            "CreatedDate": {
              "type": "date",
              "format": "yyyy-MM-dd HH:mm:ss.SSS"
            },
            "FormId": {
              "type": "string",
              "index": "not_analyzed"
            },
            "FormName": {
              "type": "string",
              "index": "not_analyzed"
            },
            "FormVersion": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>Notice that I have put <code>"dynamic" : "strict"</code> at the root.</p>
  
  <p>Do I have to specify "dynamic":"strict" to all levels of embedded objects ? In other words, if I set "dynamic":"strict" at the root level then does it apply to embedded objects as well ?</p>
  
  <p>Documentation is not clear about this.</p>