Github user justinleet commented on a diff in the pull request: https://github.com/apache/metron/pull/763#discussion_r139225592 --- Diff: metron-platform/metron-elasticsearch/src/main/java/org/apache/metron/elasticsearch/dao/ElasticsearchMetaAlertDao.java --- @@ -275,13 +275,13 @@ protected Document buildCreateDocument(MultiGetResponse multiGetResponse, List<S alertList.add(response.getSource()); } } - metaSource.put(ALERT_FIELD, alertList.toArray()); + metaSource.put(ALERT_FIELD, alertList); --- End diff -- Updated the PR description to make the reasoning more obvious to anyone glancing there first.
---