/// <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)
			);
		}
Esempio n. 3
0
 /// <inheritdoc />
 public Task <IIndicesOperationResponse> OpenIndexAsync(IOpenIndexRequest openIndexRequest)
 {
     return(this.DispatchAsync <IOpenIndexRequest, OpenIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>(
                openIndexRequest,
                (p, d) => this.RawDispatch.IndicesOpenDispatchAsync <IndicesOperationResponse>(p)
                ));
 }
Esempio n. 4
0
 /// <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);
Esempio n. 10
0
 /// <inheritdoc />
 public IOpenIndexResponse OpenIndex(IOpenIndexRequest request) =>
 Dispatcher.Dispatch <IOpenIndexRequest, OpenIndexRequestParameters, OpenIndexResponse>(
     request,
     (p, d) => LowLevelDispatch.IndicesOpenDispatch <OpenIndexResponse>(p)
     );
Esempio n. 11
0
 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)
			);
Esempio n. 14
0
 public static Task <OpenIndexResponse> OpenIndexAsync(this IElasticClient client, IOpenIndexRequest request, CancellationToken ct = default)
 => client.Indices.OpenAsync(request, ct);
Esempio n. 15
0
 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)
			);