title: Elasticsearch get index creation script
body: <p>I got one index for model that has different mappings</p>
  
  <pre><code>{
    "user_index": {
      "aliases": {
        "entities": {}
      },
      "mappings": {
        "user": {
          "dynamic": "strict",
          "_timestamp": {},
          "properties": {
            "firstName": {
              "type": "string",
              "index": "not_analyzed"
            },
            "id": {
              "type": "string",
              "index": "not_analyzed"        
            } ....
  </code></pre>
  
  <p>and I want to change id type to <code>long</code></p>
  
  <p>How can I get and copy this index creation script and just change 1 type for the field with the minimal work like get import script for mysql in workbench?</p>