aggregationField property

String? aggregationField
final

It enables you to get DISTINCT results (useful when you are dealing with sessions, events, and logs type data).

It utilizes composite aggregations which are newly introduced in ES v6 and offer vast performance benefits over a traditional terms aggregation.

Implementation

final String? aggregationField;