From 5480f2d743b59ae025e3225a4962224ae5956677 Mon Sep 17 00:00:00 2001 From: "Juliana M. Crivelli" Date: Wed, 7 Aug 2024 19:51:02 -0300 Subject: [PATCH] Fix Indices.BulkAsync summary (#717) * Fix Indices.BulkAsync summary Signed-off-by: Juliana M. Crivelli * Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli * Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli * Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli * Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli --------- Signed-off-by: Juliana M. Crivelli Co-authored-by: Thomas Farr (cherry picked from commit c2fdd5d1df4929000249d07ccdf2c8b21fd2fde6) --- src/OpenSearch.Client/OpenSearchClient.Indices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index 18875fcbed..8bc5e3c4d4 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -795,9 +795,9 @@ public Task PutMappingAsync(Func public Task SplitAsync(ISplitIndexRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct); /// - /// GET request to the indices.stats API, read more about this API online: + /// POST request to the indices.update_aliases API, read more about this API online: /// - /// https://opensearch.org/docs/latest/opensearch/stats-api/ + /// https://opensearch.org/docs/latest/opensearch/rest-api/alias/ /// public BulkAliasResponse BulkAlias(Func selector) => BulkAlias(selector.InvokeOrDefault(new BulkAliasDescriptor())); ///