public Task <TResponse> RollupAsync <TResponse>(string index, string rollupIndex, PostData body, RollupRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(POST, Url($"{index:index}/_rollup/{rollupIndex:rollupIndex}"), ctx, body, RequestParams(requestParameters));
///<summary>POST on /{index}/_rollup/{rollup_index} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html</para></summary> ///<param name = "index">The index to roll up</param> ///<param name = "rollupIndex">The name of the rollup index to create</param> ///<param name = "body">The rollup configuration</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> public TResponse Rollup <TResponse>(string index, string rollupIndex, PostData body, RollupRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(POST, Url($"{index:index}/_rollup/{rollupIndex:rollupIndex}"), body, RequestParams(requestParameters));