/// <inheritdoc /> public IIndicesOperationResponse OpenIndex(IOpenIndexRequest openIndexRequest) { return this.Dispatch<IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse>( openIndexRequest, (p, d) => this.RawDispatch.IndicesOpenDispatch<IndicesOperationResponse>(p) ); }
/// <inheritdoc /> public Task<IIndicesOperationResponse> OpenIndexAsync(IOpenIndexRequest openIndexRequest) { return this.DispatchAsync<IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>( openIndexRequest, (p, d) => this.RawDispatch.IndicesOpenDispatchAsync<IndicesOperationResponse>(p) ); }
/// <inheritdoc /> public Task <IIndicesOperationResponse> OpenIndexAsync(IOpenIndexRequest openIndexRequest) { return(this.DispatchAsync <IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>( openIndexRequest, (p, d) => this.RawDispatch.IndicesOpenDispatchAsync <IndicesOperationResponse>(p) )); }
/// <inheritdoc /> public IIndicesOperationResponse OpenIndex(IOpenIndexRequest openIndexRequest) { return(this.Dispatch <IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse>( openIndexRequest, (p, d) => this.RawDispatch.IndicesOpenDispatch <IndicesOperationResponse>(p) )); }
/// <inheritdoc/> public Task <IIndicesOperationResponse> OpenIndexAsync(IOpenIndexRequest request) => this.Dispatcher.DispatchAsync <IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>( request, (p, d) => this.LowLevelDispatch.IndicesOpenDispatchAsync <IndicesOperationResponse>(p) );
/// <inheritdoc/> public IIndicesOperationResponse OpenIndex(IOpenIndexRequest request) => this.Dispatcher.Dispatch <IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse>( request, (p, d) => this.LowLevelDispatch.IndicesOpenDispatch <IndicesOperationResponse>(p) );
/// <inheritdoc/> public Task <IOpenIndexResponse> OpenIndexAsync(IOpenIndexRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync <IOpenIndexRequest, OpenIndexRequestParameters, OpenIndexResponse, IOpenIndexResponse>( request, cancellationToken, (p, d, c) => this.LowLevelDispatch.IndicesOpenDispatchAsync <OpenIndexResponse>(p, c) );
/// <inheritdoc /> public Task <OpenIndexResponse> OpenIndexAsync(IOpenIndexRequest request, CancellationToken ct = default) => DoRequestAsync <IOpenIndexRequest, OpenIndexResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public OpenIndexResponse OpenIndex(IOpenIndexRequest request) => DoRequest <IOpenIndexRequest, OpenIndexResponse>(request, request.RequestParameters);
/// <inheritdoc /> public IOpenIndexResponse OpenIndex(IOpenIndexRequest request) => Dispatcher.Dispatch <IOpenIndexRequest, OpenIndexRequestParameters, OpenIndexResponse>( request, (p, d) => LowLevelDispatch.IndicesOpenDispatch <OpenIndexResponse>(p) );
public static void Update(ElasticsearchPathInfo <OpenIndexRequestParameters> pathInfo, IOpenIndexRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.POST; }
/// <inheritdoc/> public Task<IOpenIndexResponse> OpenIndexAsync(IOpenIndexRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IOpenIndexRequest, OpenIndexRequestParameters, OpenIndexResponse, IOpenIndexResponse>( request, cancellationToken, (p, d, c) => this.LowLevelDispatch.IndicesOpenDispatchAsync<OpenIndexResponse>(p, c) );
/// <inheritdoc/> public IOpenIndexResponse OpenIndex(IOpenIndexRequest request) => this.Dispatcher.Dispatch<IOpenIndexRequest, OpenIndexRequestParameters, OpenIndexResponse>( request, (p, d) => this.LowLevelDispatch.IndicesOpenDispatch<OpenIndexResponse>(p) );
public static Task <OpenIndexResponse> OpenIndexAsync(this IElasticClient client, IOpenIndexRequest request, CancellationToken ct = default) => client.Indices.OpenAsync(request, ct);
public static OpenIndexResponse OpenIndex(this IElasticClient client, IOpenIndexRequest request) => client.Indices.Open(request);
/// <inheritdoc/> public Task<IIndicesOperationResponse> OpenIndexAsync(IOpenIndexRequest request) => this.Dispatcher.DispatchAsync<IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>( request, (p, d) => this.LowLevelDispatch.IndicesOpenDispatchAsync<IndicesOperationResponse>(p) );