protected sealed override void RequestDefaults(AsyncSearchSubmitRequestParameters parameters) => TypedKeys();
public Task <TResponse> SubmitAsync <TResponse>(PostData body, AsyncSearchSubmitRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(POST, "_async_search", ctx, body, RequestParams(requestParameters));
///<summary>POST on /{index}/_async_search <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html</para></summary> ///<param name = "index">A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices</param> ///<param name = "body">The search definition using the Query DSL</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> public TResponse Submit <TResponse>(string index, PostData body, AsyncSearchSubmitRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(POST, Url($"{index:index}/_async_search"), body, RequestParams(requestParameters));
///<summary>POST on /_async_search <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html</para></summary> ///<param name = "body">The search definition using the Query DSL</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> public TResponse Submit <TResponse>(PostData body, AsyncSearchSubmitRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(POST, "_async_search", body, RequestParams(requestParameters));
public Task <TResponse> SubmitAsync <TResponse>(string index, PostData body, AsyncSearchSubmitRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(POST, Url($"{index:index}/_async_search"), ctx, body, RequestParams(requestParameters));