From 1256eebbad68f1d7b92bc8bf870b8d417eb18967 Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Fri, 9 Aug 2024 08:22:40 +1200 Subject: [PATCH] Fix Indices.BulkAsync summary (#717) (#746) * 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) Co-authored-by: Juliana M. Crivelli --- 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())); ///