Skip to content

Commit 8bddd28

Browse files
committed
fix: csharp doc
1 parent 1d83512 commit 8bddd28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Utils/SearchClientExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public partial interface ISearchClient
167167
/// <param name="indexName">The index in which to perform the request.</param>
168168
/// <param name="objects">The list of `objects` to store in the given Algolia `indexName`.</param>
169169
/// <param name="waitForTasks">Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable..</param>
170+
/// <param name="batchSize">The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.</param>
170171
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
171172
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
172173
/// <typeparam name="T"></typeparam>
@@ -180,6 +181,7 @@ public partial interface ISearchClient
180181
/// <param name="indexName">The index in which to perform the request.</param>
181182
/// <param name="objectIDs">The list of `objectIDs` to remove from the given Algolia `indexName`.</param>
182183
/// <param name="waitForTasks">Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable..</param>
184+
/// <param name="batchSize">The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.</param>
183185
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
184186
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
185187
Task<List<BatchResponse>> DeleteObjectsAsync(string indexName, IEnumerable<String> objectIDs, bool waitForTasks = false, RequestOptions options = null, CancellationToken cancellationToken = default);
@@ -193,6 +195,7 @@ public partial interface ISearchClient
193195
/// <param name="objects">The list of `objects` to update in the given Algolia `indexName`.</param>
194196
/// <param name="createIfNotExists">To be provided if non-existing objects are passed, otherwise, the call will fail.</param>
195197
/// <param name="waitForTasks">Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable..</param>
198+
/// <param name="batchSize">The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.</param>
196199
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
197200
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
198201
Task<List<BatchResponse>> PartialUpdateObjectsAsync<T>(string indexName, IEnumerable<T> objects, bool createIfNotExists, bool waitForTasks = false, RequestOptions options = null, CancellationToken cancellationToken = default) where T : class;

0 commit comments

Comments
 (0)