/// <inheritdoc />
 public Task <IIndicesOperationResponse> AliasAsync(IAliasRequest aliasRequest)
 {
     return(this.DispatchAsync <IAliasRequest, AliasRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>(
                aliasRequest,
                (p, d) => this.RawDispatch.IndicesUpdateAliasesDispatchAsync <IndicesOperationResponse>(p, d)
                ));
 }
		/// <inheritdoc />
		public IIndicesOperationResponse Alias(IAliasRequest aliasRequest)
		{
			return this.Dispatch<IAliasRequest, AliasRequestParameters, IndicesOperationResponse>(
				aliasRequest,
				(p, d) => this.RawDispatch.IndicesUpdateAliasesDispatch<IndicesOperationResponse>(p, d)
			);
		}
		/// <inheritdoc />
		public Task<IIndicesOperationResponse> AliasAsync(IAliasRequest aliasRequest)
		{
			return this.DispatchAsync<IAliasRequest, AliasRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>(
				aliasRequest,
				(p, d) => this.RawDispatch.IndicesUpdateAliasesDispatchAsync<IndicesOperationResponse>(p, d)
			);
		}
예제 #4
0
 public static void Update(ElasticsearchPathInfo <AliasRequestParameters> pathInfo, IAliasRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.POST;
 }