code: func (a *DiversifiedSamplerAggregation) ShardSize(shardSize int) *DiversifiedSamplerAggregation {
  	a.shardSize = shardSize
  	return a
  }
docs: // ShardSize sets the maximum number of docs returned from each shard.