TermsCompositeAggregationSourceDescriptor<T>
public class TermsCompositeAggregationSourceDescriptor<T> : CompositeAggregationSourceDescriptorBase<TermsCompositeAggregationSourceDescriptor<T>, ITermsCompositeAggregationSource, T>, ITermsCompositeAggregationSource, ICompositeAggregationSource
public TermsCompositeAggregationSourceDescriptor<T> Script(Func<ScriptDescriptor, IScript> selector)
A script to create the values for the composite buckets