@algolia/client-search 5.16.0 → 5.17.1
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 +4 -4
- package/dist/builds/browser.js +3 -3
- 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 +1 -1
- package/dist/builds/fetch.js +3 -3
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +3 -3
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +3 -3
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +4 -4
- package/dist/node.d.cts +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/src/searchClient.cjs +3 -3
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +3 -3
- package/dist/src/searchClient.js.map +1 -1
- package/package.json +5 -5
package/dist/builds/node.cjs
CHANGED
|
@@ -29,7 +29,7 @@ var import_client_common2 = require("@algolia/client-common");
|
|
|
29
29
|
|
|
30
30
|
// src/searchClient.ts
|
|
31
31
|
var import_client_common = require("@algolia/client-common");
|
|
32
|
-
var apiClientVersion = "5.
|
|
32
|
+
var apiClientVersion = "5.17.1";
|
|
33
33
|
function getDefaultHosts(appId) {
|
|
34
34
|
return [
|
|
35
35
|
{
|
|
@@ -565,7 +565,7 @@ function createSearchClient({
|
|
|
565
565
|
return transporter.request(request, requestOptions);
|
|
566
566
|
},
|
|
567
567
|
/**
|
|
568
|
-
* If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added to the index. To update _some_ attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
|
|
568
|
+
* If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added to the index. If you want to use auto-generated object IDs, use the [`saveObject` operation](#tag/Records/operation/saveObject). To update _some_ attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
|
|
569
569
|
*
|
|
570
570
|
* Required API Key ACLs:
|
|
571
571
|
* - addObject
|
|
@@ -1793,7 +1793,7 @@ function createSearchClient({
|
|
|
1793
1793
|
return transporter.request(request, requestOptions);
|
|
1794
1794
|
},
|
|
1795
1795
|
/**
|
|
1796
|
-
* Adds a record to an index or
|
|
1796
|
+
* Adds a record to an index or replaces it. - If the record doesn\'t have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn\'t exist, a new record is added to your index. - If you add a record to an index that doesn\'t exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1797
1797
|
*
|
|
1798
1798
|
* Required API Key ACLs:
|
|
1799
1799
|
* - addObject
|