SamplerAggregationDescriptor<T> public class SamplerAggregationDescriptor<T> : BucketAggregationDescriptorBase<SamplerAggregationDescriptor<T>, ISamplerAggregation, T>, ISamplerAggregation, IBucketAggregation, IAggregation Documentation Code public SamplerAggregationDescriptor() public SamplerAggregationDescriptor<T> ExecutionHint(SamplerAggregationExecutionHint? executionHint) public SamplerAggregationDescriptor<T> MaxDocsPerValue(int? maxDocs) public SamplerAggregationDescriptor<T> Script(string script) public SamplerAggregationDescriptor<T> Script(Func<ScriptDescriptor, IScript> scriptSelector) public SamplerAggregationDescriptor<T> ShardSize(int? shardSize)