diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index c80918a6e0..75d23d1293 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -811,9 +811,9 @@ Task PutMappingAsync(Func Task SplitAsync(ISplitIndexRequest request, CancellationToken ct = default); /// - /// 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/ /// BulkAliasResponse BulkAlias(Func selector); /// @@ -1621,9 +1621,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())); ///