예제 #1
0
 public Task <TResponse> UnfollowIndexAsync <TResponse>(string index, UnfollowIndexRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(POST, Url($"{index:index}/_ccr/unfollow"), ctx, null, RequestParams(requestParameters));
예제 #2
0
 ///<summary>POST on /{index}/_ccr/unfollow <para>http://www.elastic.co/guide/en/elasticsearch/reference/current</para></summary>
 ///<param name = "index">The name of the follower index that should be turned into a regular index.</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse UnfollowIndex <TResponse>(string index, UnfollowIndexRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(POST, Url($"{index:index}/_ccr/unfollow"), null, RequestParams(requestParameters));