예제 #1
0
 public Task <TResponse> DeleteAsync <TResponse>(string id, AsyncSearchDeleteRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(DELETE, Url($"_async_search/{id:id}"), ctx, null, RequestParams(requestParameters));
예제 #2
0
 ///<summary>DELETE on /_async_search/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html</para></summary>
 ///<param name = "id">The async search ID</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse Delete <TResponse>(string id, AsyncSearchDeleteRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(DELETE, Url($"_async_search/{id:id}"), null, RequestParams(requestParameters));