title: How to change a field property in Elasticsearch index from Index : not_analyzed to index:no?
body: <p>I am getting the following exception while trying bulk api in Elasticsearch using java :</p>
  
  <blockquote>
    <p>Caused by: java.lang.IllegalArgumentException:<br>
    Document contains atleast one immense term in field="msg_properties" (whose UTF8
    encoding  is longer than the max length 32766), all of which were
    skipped.   Please correct the analyzer to not produce such terms.  The
    prefix of  the first immense term is: '[7b 4a 4d 53 43 6f 72 72 65 6c
    61 74 69 6f  6e 49 44 3d 6e 75 6c 6c 2c 20 4a 4d 53 4d 65 73]...'</p>
  </blockquote>
  
  <p>I searched with above exception, it lead to the following stackoverflow <a href="https://stackoverflow.com/questions/24019868/utf8-encoding-is-longer-than-the-max-length-32766">link</a> and tried to update to the field property from index:not_analyzed to index:no.</p>
  
  <p>But its not updating in the index and getting the same exception again.</p>
  
  <p>Can anyone say how to solve this and how to update the property?</p>
  
  <p>It would be helpful if anyone could provide an example...</p>
  
  <p>Thanks in Advance.....</p>