Hello,
field 'status' stored in elasticsearch, based on different responses from vendors(200,0,'XSDDF',...etc), and the value may represent string or integers, the definition of status field in mapping is :
"status" : {
"type" : "long"
},
so when value is string(like :XDFCCCV), below exception will appear:
{"type":"mapper_parsing_exception","reason":"failed to parse field [status] of type [long] in document with id 'xxx-xxx-xx-xxx-xxx'","caused_by":{"type":"illegal_argument_exception","reason":"For input string: \"success\""}}
can i update the mapping for status to accept string or integers, to prevent above exception?