title: How to detect whether elasticsearch has enabled dynamic field
body: <p>I don't know whether my index has enabled/disabled dynamic field. When I use get index mapping command it just responses these informations:</p>
  <pre><code>GET /my_index1/_mapping
  </code></pre>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;my_index1&quot;: {
          &quot;mappings&quot;: {
              &quot;properties&quot;: {
                  &quot;goodsName&quot;: {
                      &quot;fields&quot;: {
                          &quot;keyword&quot;: {
                              &quot;ignore_above&quot;: 256,
                              &quot;type&quot;: &quot;keyword&quot;
                          }
                      },
                      &quot;type&quot;: &quot;text&quot;
                  },
                  &quot;auditTime&quot;: {
                      &quot;type&quot;: &quot;long&quot;
                  },
                  &quot;createUserId&quot;: {
                      &quot;type&quot;: &quot;long&quot;
                  }
              }
          }
      }
  }
  
  </code></pre>