@algolia/client-search 5.25.0 → 5.27.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.
- package/README.md +4 -4
- package/dist/browser.d.ts +71 -13
- package/dist/builds/browser.js +5 -5
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +2 -2
- package/dist/builds/fetch.js +5 -5
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +5 -5
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +6 -6
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +5 -5
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +71 -13
- package/dist/node.d.cts +71 -13
- package/dist/node.d.ts +71 -13
- package/dist/src/searchClient.cjs +5 -5
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +5 -5
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +71 -13
- package/package.json +8 -8
package/dist/builds/node.cjs
CHANGED
|
@@ -30,7 +30,7 @@ var import_client_common2 = require("@algolia/client-common");
|
|
|
30
30
|
|
|
31
31
|
// src/searchClient.ts
|
|
32
32
|
var import_client_common = require("@algolia/client-common");
|
|
33
|
-
var apiClientVersion = "5.
|
|
33
|
+
var apiClientVersion = "5.27.0";
|
|
34
34
|
function getDefaultHosts(appId) {
|
|
35
35
|
return [
|
|
36
36
|
{
|
|
@@ -391,7 +391,7 @@ function createSearchClient({
|
|
|
391
391
|
* @param saveObjects - The `saveObjects` object.
|
|
392
392
|
* @param saveObjects.indexName - The `indexName` to save `objects` in.
|
|
393
393
|
* @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
394
|
-
* @param
|
|
394
|
+
* @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.
|
|
395
395
|
* @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.
|
|
396
396
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
397
397
|
*/
|
|
@@ -408,7 +408,7 @@ function createSearchClient({
|
|
|
408
408
|
* @param deleteObjects - The `deleteObjects` object.
|
|
409
409
|
* @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
|
|
410
410
|
* @param deleteObjects.objectIDs - The objectIDs to delete.
|
|
411
|
-
* @param
|
|
411
|
+
* @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.
|
|
412
412
|
* @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.
|
|
413
413
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
414
414
|
*/
|
|
@@ -432,7 +432,7 @@ function createSearchClient({
|
|
|
432
432
|
* @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
|
|
433
433
|
* @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
|
|
434
434
|
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail..
|
|
435
|
-
* @param
|
|
435
|
+
* @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.
|
|
436
436
|
* @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.
|
|
437
437
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
438
438
|
*/
|
|
@@ -1385,7 +1385,7 @@ function createSearchClient({
|
|
|
1385
1385
|
* Retrieves an object with non-null index settings.
|
|
1386
1386
|
*
|
|
1387
1387
|
* Required API Key ACLs:
|
|
1388
|
-
* -
|
|
1388
|
+
* - settings
|
|
1389
1389
|
* @param getSettings - The getSettings object.
|
|
1390
1390
|
* @param getSettings.indexName - Name of the index on which to perform the operation.
|
|
1391
1391
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|