I am kind of struugling with coming up with a Java equivalent to the solution posted here.
AggregationBuilders.global("global_aggregation")
.subAggregation(AggregationBuilders.dateHistogram("dateAggr")
.field("IngestedTime").dateHistogramInterval(DateHistogramInterval.DAY).timeZone(dt)
.subAggregation(PipelineAggregatorBuilders. // how do I include the terms here?)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.