@algolia/client-search 5.24.0 → 5.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import {
7
7
  getAlgoliaAgent,
8
8
  shuffle
9
9
  } from "@algolia/client-common";
10
- var apiClientVersion = "5.24.0";
10
+ var apiClientVersion = "5.26.0";
11
11
  function getDefaultHosts(appId) {
12
12
  return [
13
13
  {
@@ -368,7 +368,7 @@ function createSearchClient({
368
368
  * @param saveObjects - The `saveObjects` object.
369
369
  * @param saveObjects.indexName - The `indexName` to save `objects` in.
370
370
  * @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
371
- * @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.
371
+ * @param saveObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
372
372
  * @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.
373
373
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
374
374
  */
@@ -385,7 +385,7 @@ function createSearchClient({
385
385
  * @param deleteObjects - The `deleteObjects` object.
386
386
  * @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
387
387
  * @param deleteObjects.objectIDs - The objectIDs to delete.
388
- * @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.
388
+ * @param deleteObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
389
389
  * @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.
390
390
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
391
391
  */
@@ -409,7 +409,7 @@ function createSearchClient({
409
409
  * @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
410
410
  * @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
411
411
  * @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail..
412
- * @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.
412
+ * @param partialUpdateObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
413
413
  * @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.
414
414
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
415
415
  */
@@ -1035,7 +1035,7 @@ function createSearchClient({
1035
1035
  return transporter.request(request, requestOptions);
1036
1036
  },
1037
1037
  /**
1038
- * Deletes a record by its object ID. To delete more than one record, use the [`batch` operation](#tag/Records/operation/batch). To delete records matching a query, use the [`deleteByQuery` operation](#tag/Records/operation/deleteBy).
1038
+ * Deletes a record by its object ID. To delete more than one record, use the [`batch` operation](#tag/Records/operation/batch). To delete records matching a query, use the [`deleteBy` operation](#tag/Records/operation/deleteBy).
1039
1039
  *
1040
1040
  * Required API Key ACLs:
1041
1041
  * - deleteObject
@@ -1362,7 +1362,7 @@ function createSearchClient({
1362
1362
  * Retrieves an object with non-null index settings.
1363
1363
  *
1364
1364
  * Required API Key ACLs:
1365
- * - search
1365
+ * - settings
1366
1366
  * @param getSettings - The getSettings object.
1367
1367
  * @param getSettings.indexName - Name of the index on which to perform the operation.
1368
1368
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.