You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: algoliasearch/Utils/SearchClientExtensions.cs
+21-16Lines changed: 21 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -167,24 +167,26 @@ public partial interface ISearchClient
167
167
/// <param name="indexName">The index in which to perform the request.</param>
168
168
/// <param name="objects">The list of `objects` to store in the given Algolia `indexName`.</param>
169
169
/// <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>
170
171
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
171
172
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
179
180
/// </summary>
180
181
/// <param name="indexName">The index in which to perform the request.</param>
181
182
/// <param name="objectIDs">The list of `objectIDs` to remove from the given Algolia `indexName`.</param>
182
183
/// <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>
183
185
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
184
186
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
@@ -193,11 +195,12 @@ public partial interface ISearchClient
193
195
/// <param name="objects">The list of `objects` to update in the given Algolia `indexName`.</param>
194
196
/// <param name="createIfNotExists">To be provided if non-existing objects are passed, otherwise, the call will fail.</param>
195
197
/// <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>
196
199
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
197
200
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
0 commit comments