(fix)elasticsearch: IP addresses don't survive terms aggregation (#4393) (#6246)

This commit is contained in:
Uros Meglic
2016-10-12 13:14:57 +02:00
committed by Torkel Ödegaard
parent ce60efea8a
commit e1739b6025

View File

@@ -171,6 +171,9 @@ function (_, queryDef) {
} else {
props["filter"] = nameIndex;
}
if (bucket.key_as_string) {
props[aggDef.field] = bucket.key_as_string;
}
this.processBuckets(bucket, target, seriesList, docs, props, depth+1);
}
}