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: packages/client-search/src/searchClient.ts
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -550,14 +550,18 @@ export function createSearchClient({
550
550
* @param saveObjects - The `saveObjects` object.
551
551
* @param saveObjects.indexName - The `indexName` to save `objects` in.
552
552
* @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
553
+
* @param chunkedBatch.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
553
554
* @param saveObjects.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.
554
555
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
@@ -567,11 +571,12 @@ export function createSearchClient({
567
571
* @param deleteObjects - The `deleteObjects` object.
568
572
* @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
569
573
* @param deleteObjects.objectIDs - The objectIDs to delete.
574
+
* @param chunkedBatch.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
570
575
* @param deleteObjects.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.
571
576
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
@@ -593,18 +599,20 @@ export function createSearchClient({
593
599
* @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
594
600
* @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
595
601
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail..
602
+
* @param chunkedBatch.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
596
603
* @param partialUpdateObjects.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.
597
604
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
0 commit comments