title: How to update elasticsearch field type
body: <p>I need to update elasticsearch field type integer to long I tried the following way and it not works</p>
  
  <pre><code>curl -XPUT 'http://localhost:9200/testwork/_mapping/message?ignore_conflicts=true' -d '
  {
      "message" : {
          "properties" : {
              "status" : {"type" : "long"}
          }
      }
  }
  '
  </code></pre>
  
  <p>When tried without ignore_conflicts parameter it getting error like</p>
  
  <pre><code>{"error":"MergeMappingException[Merge failed with failures {[mapper [status] of different type, current_type [integer], merged_type [long]]}]","status":400}
  </code></pre>
  
  <p>But not get error while using  ignore_conflicts parameter got the response like</p>
  
  <pre><code>{"acknowledged":true} 
  </code></pre>
  
  <p>But the type not changed for status field. Please help me to do this</p>