I am getting the following exception while trying bulk api in Elasticsearch using java :
Caused by: java.lang.IllegalArgumentException:
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]...'
I searched with above exception, it lead to the following stackoverflow link and tried to update to the field property from index:not_analyzed to index:no.
But its not updating in the index and getting the same exception again.
Can anyone say how to solve this and how to update the property?
It would be helpful if anyone could provide an example...
Thanks in Advance.....