added indices to error_code and raw_json fields in historical info model
added indices to error_code and raw_json fields in historical info model