From f77bd78d378f93999a559903976cc336ed573770 Mon Sep 17 00:00:00 2001 From: "Juliana M. Crivelli" Date: Wed, 17 Jul 2024 14:31:21 -0300 Subject: [PATCH 1/5] Fix Indices.BulkAsync summary Signed-off-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 c80918a6e0..333b20d900 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -811,7 +811,7 @@ Task PutMappingAsync(Func Task SplitAsync(ISplitIndexRequest request, CancellationToken ct = default); /// - /// GET request to the indices.stats API, read more about this API online: + /// GET request to the indices.update_aliases API, read more about this API online: /// /// https://opensearch.org/docs/latest/opensearch/stats-api/ /// @@ -1621,7 +1621,7 @@ 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: + /// GET request to the indices.update_aliases API, read more about this API online: /// /// https://opensearch.org/docs/latest/opensearch/stats-api/ /// From c2941018c290251edb19ccb3f2c403eeedbcf979 Mon Sep 17 00:00:00 2001 From: "Juliana M. Crivelli" Date: Wed, 7 Aug 2024 11:42:55 -0300 Subject: [PATCH 2/5] Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli --- src/OpenSearch.Client/OpenSearchClient.Indices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index 333b20d900..b8efe60488 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -813,7 +813,7 @@ Task PutMappingAsync(Func /// GET 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/ /// BulkAliasResponse BulkAlias(Func selector); /// From db437b4fb988d35cf91df0148882d37c784c3e2d Mon Sep 17 00:00:00 2001 From: "Juliana M. Crivelli" Date: Wed, 7 Aug 2024 11:43:04 -0300 Subject: [PATCH 3/5] Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli --- src/OpenSearch.Client/OpenSearchClient.Indices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index b8efe60488..bd990547dd 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -1623,7 +1623,7 @@ public Task PutMappingAsync(Func /// GET 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())); /// From 69db3ce61975bf6d314e3b9469e4cb556840347e Mon Sep 17 00:00:00 2001 From: "Juliana M. Crivelli" Date: Wed, 7 Aug 2024 11:43:15 -0300 Subject: [PATCH 4/5] Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli --- src/OpenSearch.Client/OpenSearchClient.Indices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index bd990547dd..8c400a6905 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -1621,7 +1621,7 @@ public Task PutMappingAsync(Func public Task SplitAsync(ISplitIndexRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct); /// - /// GET request to the indices.update_aliases 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/rest-api/alias/ /// From 9ec0081c9cf8c16a025d8fec67967e90a4b68a05 Mon Sep 17 00:00:00 2001 From: "Juliana M. Crivelli" Date: Wed, 7 Aug 2024 11:43:27 -0300 Subject: [PATCH 5/5] Update src/OpenSearch.Client/OpenSearchClient.Indices.cs Co-authored-by: Thomas Farr Signed-off-by: Juliana M. Crivelli --- src/OpenSearch.Client/OpenSearchClient.Indices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index 8c400a6905..75d23d1293 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -811,7 +811,7 @@ Task PutMappingAsync(Func Task SplitAsync(ISplitIndexRequest request, CancellationToken ct = default); /// - /// GET request to the indices.update_aliases 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/rest-api/alias/ ///