)]}'
{"searchlight/elasticsearch/plugins/helper.py":[{"author":{"_account_id":16150,"name":"Lei Zhang","email":"lei.a.zhang@intel.com","username":"leizhang"},"change_message_id":"bf78199ed035533047d4c92be612a24a86d43119","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_7012ca58","line":202,"updated":"2017-01-23 08:34:25.000000000","message":"Is \u0027VersionConflict\u0027 string still valid here? If not, is there any exception type we could use to determine version conflict?","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"73f4e674635c0d0237d98ba5c33e23c2922d3f7e","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_05a99cdf","line":202,"in_reply_to":"1a430d35_4a38dbef","updated":"2017-02-21 16:30:33.000000000","message":"Going into Pike I\u0027m ok dropping ES 1 support. We can\u0027t support three major versions; there are too many backwards incompatible changes.","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"56250a92c9dcda5620e74abab84a88ba7917e702","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a430d35_38cec5b4","line":202,"in_reply_to":"3a461143_01c82373","updated":"2017-02-06 01:08:17.000000000","message":"Done","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"},{"author":{"_account_id":16150,"name":"Lei Zhang","email":"lei.a.zhang@intel.com","username":"leizhang"},"change_message_id":"b1f1c15c4efeafee8a716a4ef84c731fe5c3ae75","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a430d35_4a38dbef","line":202,"in_reply_to":"3a461143_01c82373","updated":"2017-02-07 08:12:21.000000000","message":"I installed es 1.x to try this, found error string worked and \u0027type\u0027 not existed. Is es 1.x still on our support list right?","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"678a3b80c706d190533d33a6623218b490c3136c","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a461143_01c82373","line":202,"in_reply_to":"5a3905b3_4f92564d","updated":"2017-01-31 16:15:47.000000000","message":"Using the error string was probably a mistake though I\u0027m not sure if the \u0027type\u0027 existed in elasticsearch 1.x errors. Agree that using the type and status is sensible.","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"},{"author":{"_account_id":16150,"name":"Lei Zhang","email":"lei.a.zhang@intel.com","username":"leizhang"},"change_message_id":"20cc4fca625942074cdbf14f496abcbccc19a7ce","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_4f92564d","line":202,"in_reply_to":"5a3905b3_50c6ae9a","updated":"2017-01-24 03:56:38.000000000","message":"\u0027VersionConflict\u0027 no longer exists in error message. I suggest commbing err[\u0027index\u0027][\u0027error\u0027][\u0027type\u0027] and status code to determine version conflict. What do you think","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"3994b4eeefd14e94b3e71f0ef8c1cb2fa47974a8","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        except helpers.BulkIndexError as e:"},{"line_number":200,"context_line":"            err_msg \u003d []"},{"line_number":201,"context_line":"            for err in e.errors:"},{"line_number":202,"context_line":"                if (\"VersionConflict\" not in err[\u0027index\u0027][\u0027error\u0027] and"},{"line_number":203,"context_line":"                        err[\u0027index\u0027][\u0027status\u0027] !\u003d 409):"},{"line_number":204,"context_line":"                    raise"},{"line_number":205,"context_line":"                err_msg.append(\"id %(_id)s: %(error)s\" % err[\u0027index\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_50c6ae9a","line":202,"in_reply_to":"5a3905b3_7012ca58","updated":"2017-01-23 08:38:44.000000000","message":"Not sure, was remaining it here just in case..","commit_id":"83dc9a32f75dded8091da0cfc7fed2af3b3f3003"}]}
