@algolia/client-search 5.39.0 → 5.40.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 +8 -9
- package/dist/browser.d.ts +71 -74
- package/dist/builds/browser.js +23 -23
- 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 +23 -23
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +23 -23
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +23 -23
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +23 -23
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +71 -74
- package/dist/node.d.cts +71 -74
- package/dist/node.d.ts +71 -74
- package/dist/src/searchClient.cjs +23 -23
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +23 -23
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +71 -74
- package/package.json +9 -9
package/dist/builds/node.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getAlgoliaAgent,
|
|
21
21
|
shuffle
|
|
22
22
|
} from "@algolia/client-common";
|
|
23
|
-
var apiClientVersion = "5.
|
|
23
|
+
var apiClientVersion = "5.40.1";
|
|
24
24
|
function getDefaultHosts(appId) {
|
|
25
25
|
return [
|
|
26
26
|
{
|
|
@@ -421,7 +421,7 @@ function createSearchClient({
|
|
|
421
421
|
* @param partialUpdateObjects - The `partialUpdateObjects` object.
|
|
422
422
|
* @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
|
|
423
423
|
* @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
|
|
424
|
-
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail
|
|
424
|
+
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail.
|
|
425
425
|
* @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.
|
|
426
426
|
* @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.
|
|
427
427
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
@@ -569,7 +569,7 @@ function createSearchClient({
|
|
|
569
569
|
return transporter.request(request, requestOptions);
|
|
570
570
|
},
|
|
571
571
|
/**
|
|
572
|
-
* 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](
|
|
572
|
+
* 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](https://www.algolia.com/doc/rest-api/search/save-object). To update _some_ attributes of an existing record, use the [`partial` operation](https://www.algolia.com/doc/rest-api/search/partial-update-object) instead. To add, update, or replace multiple records, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch).
|
|
573
573
|
*
|
|
574
574
|
* Required API Key ACLs:
|
|
575
575
|
* - addObject
|
|
@@ -666,7 +666,7 @@ function createSearchClient({
|
|
|
666
666
|
return transporter.request(request, requestOptions);
|
|
667
667
|
},
|
|
668
668
|
/**
|
|
669
|
-
* Adds, updates, or deletes records in one index with a single API request. Batching index updates reduces latency and increases data integrity. - Actions are applied in the order they\'re specified. - Actions are equivalent to the individual API requests of the same name. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/
|
|
669
|
+
* Adds, updates, or deletes records in one index with a single API request. Batching index updates reduces latency and increases data integrity. - Actions are applied in the order they\'re specified. - Actions are equivalent to the individual API requests of the same name. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
670
670
|
* @param batch - The batch object.
|
|
671
671
|
* @param batch.indexName - Name of the index on which to perform the operation.
|
|
672
672
|
* @param batch.batchWriteParams - The batchWriteParams object.
|
|
@@ -799,7 +799,7 @@ function createSearchClient({
|
|
|
799
799
|
return transporter.request(request, requestOptions);
|
|
800
800
|
},
|
|
801
801
|
/**
|
|
802
|
-
* Deletes only the records from an index while keeping settings, synonyms, and rules. This operation is resource-intensive and subject to [indexing rate limits](https://support.algolia.com/hc/
|
|
802
|
+
* Deletes only the records from an index while keeping settings, synonyms, and rules. This operation is resource-intensive and subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
803
803
|
*
|
|
804
804
|
* Required API Key ACLs:
|
|
805
805
|
* - deleteIndex
|
|
@@ -995,7 +995,7 @@ function createSearchClient({
|
|
|
995
995
|
return transporter.request(request, requestOptions);
|
|
996
996
|
},
|
|
997
997
|
/**
|
|
998
|
-
* This operation doesn\'t accept empty filters. This operation is resource-intensive. You should only use it if you can\'t get the object IDs of the records you want to delete. It\'s more efficient to get a list of object IDs with the [`browse` operation](
|
|
998
|
+
* This operation doesn\'t accept empty filters. This operation is resource-intensive. You should only use it if you can\'t get the object IDs of the records you want to delete. It\'s more efficient to get a list of object IDs with the [`browse` operation](https://www.algolia.com/doc/rest-api/search/browse), and then delete the records using the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
999
999
|
*
|
|
1000
1000
|
* Required API Key ACLs:
|
|
1001
1001
|
* - deleteIndex
|
|
@@ -1024,7 +1024,7 @@ function createSearchClient({
|
|
|
1024
1024
|
return transporter.request(request, requestOptions);
|
|
1025
1025
|
},
|
|
1026
1026
|
/**
|
|
1027
|
-
* Deletes an index and all its settings. - Deleting an index doesn\'t delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas
|
|
1027
|
+
* Deletes an index and all its settings. - Deleting an index doesn\'t delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas).
|
|
1028
1028
|
*
|
|
1029
1029
|
* Required API Key ACLs:
|
|
1030
1030
|
* - deleteIndex
|
|
@@ -1048,7 +1048,7 @@ function createSearchClient({
|
|
|
1048
1048
|
return transporter.request(request, requestOptions);
|
|
1049
1049
|
},
|
|
1050
1050
|
/**
|
|
1051
|
-
* Deletes a record by its object ID. To delete more than one record, use the [`batch` operation](
|
|
1051
|
+
* Deletes a record by its object ID. To delete more than one record, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch). To delete records matching a query, use the [`deleteBy` operation](https://www.algolia.com/doc/rest-api/search/delete-by).
|
|
1052
1052
|
*
|
|
1053
1053
|
* Required API Key ACLs:
|
|
1054
1054
|
* - deleteObject
|
|
@@ -1076,7 +1076,7 @@ function createSearchClient({
|
|
|
1076
1076
|
return transporter.request(request, requestOptions);
|
|
1077
1077
|
},
|
|
1078
1078
|
/**
|
|
1079
|
-
* Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](
|
|
1079
|
+
* Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](https://www.algolia.com/doc/rest-api/search/search-rules).
|
|
1080
1080
|
*
|
|
1081
1081
|
* Required API Key ACLs:
|
|
1082
1082
|
* - editSettings
|
|
@@ -1132,7 +1132,7 @@ function createSearchClient({
|
|
|
1132
1132
|
return transporter.request(request, requestOptions);
|
|
1133
1133
|
},
|
|
1134
1134
|
/**
|
|
1135
|
-
* Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](
|
|
1135
|
+
* Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](https://www.algolia.com/doc/rest-api/search/search-synonyms).
|
|
1136
1136
|
*
|
|
1137
1137
|
* Required API Key ACLs:
|
|
1138
1138
|
* - editSettings
|
|
@@ -1247,7 +1247,7 @@ function createSearchClient({
|
|
|
1247
1247
|
return transporter.request(request, requestOptions);
|
|
1248
1248
|
},
|
|
1249
1249
|
/**
|
|
1250
|
-
* The request must be authenticated by an API key with the [`logs` ACL](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl). - Logs are held for the last seven days. - Up to 1,000 API requests per server are logged. - This request counts towards your [operations quota](https://support.algolia.com/hc/
|
|
1250
|
+
* The request must be authenticated by an API key with the [`logs` ACL](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl). - Logs are held for the last seven days. - Up to 1,000 API requests per server are logged. - This request counts towards your [operations quota](https://support.algolia.com/hc/articles/17245378392977-How-does-Algolia-count-records-and-operations) but doesn\'t appear in the logs itself.
|
|
1251
1251
|
*
|
|
1252
1252
|
* Required API Key ACLs:
|
|
1253
1253
|
* - logs
|
|
@@ -1283,7 +1283,7 @@ function createSearchClient({
|
|
|
1283
1283
|
return transporter.request(request, requestOptions);
|
|
1284
1284
|
},
|
|
1285
1285
|
/**
|
|
1286
|
-
* Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](
|
|
1286
|
+
* Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](https://www.algolia.com/doc/rest-api/search/get-objects).
|
|
1287
1287
|
*
|
|
1288
1288
|
* Required API Key ACLs:
|
|
1289
1289
|
* - search
|
|
@@ -1344,7 +1344,7 @@ function createSearchClient({
|
|
|
1344
1344
|
return transporter.request(request, requestOptions);
|
|
1345
1345
|
},
|
|
1346
1346
|
/**
|
|
1347
|
-
* Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](
|
|
1347
|
+
* Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](https://www.algolia.com/doc/rest-api/search/search-rules).
|
|
1348
1348
|
*
|
|
1349
1349
|
* Required API Key ACLs:
|
|
1350
1350
|
* - settings
|
|
@@ -1419,7 +1419,7 @@ function createSearchClient({
|
|
|
1419
1419
|
return transporter.request(request, requestOptions);
|
|
1420
1420
|
},
|
|
1421
1421
|
/**
|
|
1422
|
-
* Retrieves a synonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](
|
|
1422
|
+
* Retrieves a synonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](https://www.algolia.com/doc/rest-api/search/search-synonyms).
|
|
1423
1423
|
*
|
|
1424
1424
|
* Required API Key ACLs:
|
|
1425
1425
|
* - settings
|
|
@@ -1646,7 +1646,7 @@ function createSearchClient({
|
|
|
1646
1646
|
return transporter.request(request, requestOptions);
|
|
1647
1647
|
},
|
|
1648
1648
|
/**
|
|
1649
|
-
* Adds, updates, or deletes records in multiple indices with a single API request. - Actions are applied in the order they are specified. - Actions are equivalent to the individual API requests of the same name. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/
|
|
1649
|
+
* Adds, updates, or deletes records in multiple indices with a single API request. - Actions are applied in the order they are specified. - Actions are equivalent to the individual API requests of the same name. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1650
1650
|
* @param batchParams - The batchParams object.
|
|
1651
1651
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1652
1652
|
*/
|
|
@@ -1670,7 +1670,7 @@ function createSearchClient({
|
|
|
1670
1670
|
return transporter.request(request, requestOptions);
|
|
1671
1671
|
},
|
|
1672
1672
|
/**
|
|
1673
|
-
* Copies or moves (renames) an index within the same Algolia application. - Existing destination indices are overwritten, except for their analytics data. - If the destination index doesn\'t exist yet, it\'ll be created. - This operation is resource-intensive. **Copy** - Copying a source index that doesn\'t exist creates a new index with 0 records and default settings. - The API keys of the source index are merged with the existing keys in the destination index. - You can\'t copy the `enableReRanking`, `mode`, and `replicas` settings. - You can\'t copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - Related guide: [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices
|
|
1673
|
+
* Copies or moves (renames) an index within the same Algolia application. - Existing destination indices are overwritten, except for their analytics data. - If the destination index doesn\'t exist yet, it\'ll be created. - This operation is resource-intensive. **Copy** - Copying a source index that doesn\'t exist creates a new index with 0 records and default settings. - The API keys of the source index are merged with the existing keys in the destination index. - You can\'t copy the `enableReRanking`, `mode`, and `replicas` settings. - You can\'t copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - Related guide: [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices) **Move** - Moving a source index that doesn\'t exist is ignored without returning an error. - When moving an index, the analytics data keeps its original name, and a new set of analytics data is started for the new name. To access the original analytics in the dashboard, create an index with the original name. - If the destination index has replicas, moving will overwrite the existing index and copy the data to the replica indices. - Related guide: [Move indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/move-indices). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1674
1674
|
*
|
|
1675
1675
|
* Required API Key ACLs:
|
|
1676
1676
|
* - addObject
|
|
@@ -1705,7 +1705,7 @@ function createSearchClient({
|
|
|
1705
1705
|
return transporter.request(request, requestOptions);
|
|
1706
1706
|
},
|
|
1707
1707
|
/**
|
|
1708
|
-
* Adds new attributes to a record, or updates existing ones. - If a record with the specified object ID doesn\'t exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn\'t exist yet, this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify a nested attribute, this operation replaces its first-level ancestor. To update an attribute without pushing the entire record, you can use these built-in operations. These operations can be helpful if you don\'t have access to your initial data. - Increment: increment a numeric attribute - Decrement: decrement a numeric attribute - Add: append a number or string element to an array attribute - Remove: remove all matching number or string elements from an array attribute made of numbers or strings - AddUnique: add a number or string element to an array attribute made of numbers or strings only if it\'s not already present - IncrementFrom: increment a numeric integer attribute only if the provided value matches the current value, and otherwise ignore the whole object update. For example, if you pass an IncrementFrom value of 2 for the version attribute, but the current value of the attribute is 1, the engine ignores the update. If the object doesn\'t exist, the engine only creates it if you pass an IncrementFrom value of 0. - IncrementSet: increment a numeric integer attribute only if the provided value is greater than the current value, and otherwise ignore the whole object update. For example, if you pass an IncrementSet value of 2 for the version attribute, and the current value of the attribute is 1, the engine updates the object. If the object doesn\'t exist yet, the engine only creates it if you pass an IncrementSet value greater than 0. You can specify an operation by providing an object with the attribute to update as the key and its value being an object with the following properties: - _operation: the operation to apply on the attribute - value: the right-hand side argument to the operation, for example, increment or decrement step, value to add or remove. When updating multiple attributes or using multiple operations targeting the same record, you should use a single partial update for faster processing. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/
|
|
1708
|
+
* Adds new attributes to a record, or updates existing ones. - If a record with the specified object ID doesn\'t exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn\'t exist yet, this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify a nested attribute, this operation replaces its first-level ancestor. To update an attribute without pushing the entire record, you can use these built-in operations. These operations can be helpful if you don\'t have access to your initial data. - Increment: increment a numeric attribute - Decrement: decrement a numeric attribute - Add: append a number or string element to an array attribute - Remove: remove all matching number or string elements from an array attribute made of numbers or strings - AddUnique: add a number or string element to an array attribute made of numbers or strings only if it\'s not already present - IncrementFrom: increment a numeric integer attribute only if the provided value matches the current value, and otherwise ignore the whole object update. For example, if you pass an IncrementFrom value of 2 for the version attribute, but the current value of the attribute is 1, the engine ignores the update. If the object doesn\'t exist, the engine only creates it if you pass an IncrementFrom value of 0. - IncrementSet: increment a numeric integer attribute only if the provided value is greater than the current value, and otherwise ignore the whole object update. For example, if you pass an IncrementSet value of 2 for the version attribute, and the current value of the attribute is 1, the engine updates the object. If the object doesn\'t exist yet, the engine only creates it if you pass an IncrementSet value greater than 0. You can specify an operation by providing an object with the attribute to update as the key and its value being an object with the following properties: - _operation: the operation to apply on the attribute - value: the right-hand side argument to the operation, for example, increment or decrement step, value to add or remove. When updating multiple attributes or using multiple operations targeting the same record, you should use a single partial update for faster processing. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1709
1709
|
*
|
|
1710
1710
|
* Required API Key ACLs:
|
|
1711
1711
|
* - addObject
|
|
@@ -1817,7 +1817,7 @@ function createSearchClient({
|
|
|
1817
1817
|
return transporter.request(request, requestOptions);
|
|
1818
1818
|
},
|
|
1819
1819
|
/**
|
|
1820
|
-
* 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](
|
|
1820
|
+
* 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](https://www.algolia.com/doc/rest-api/search/partial-update-object). To add, update, or replace multiple records, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1821
1821
|
*
|
|
1822
1822
|
* Required API Key ACLs:
|
|
1823
1823
|
* - addObject
|
|
@@ -1846,7 +1846,7 @@ function createSearchClient({
|
|
|
1846
1846
|
return transporter.request(request, requestOptions);
|
|
1847
1847
|
},
|
|
1848
1848
|
/**
|
|
1849
|
-
* If a rule with the specified object ID doesn\'t exist, it\'s created. Otherwise, the existing rule is replaced. To create or update more than one rule, use the [`batch` operation](
|
|
1849
|
+
* If a rule with the specified object ID doesn\'t exist, it\'s created. Otherwise, the existing rule is replaced. To create or update more than one rule, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/save-rules).
|
|
1850
1850
|
*
|
|
1851
1851
|
* Required API Key ACLs:
|
|
1852
1852
|
* - editSettings
|
|
@@ -1889,7 +1889,7 @@ function createSearchClient({
|
|
|
1889
1889
|
return transporter.request(request, requestOptions);
|
|
1890
1890
|
},
|
|
1891
1891
|
/**
|
|
1892
|
-
* Create or update multiple rules. If a rule with the specified object ID doesn\'t exist, Algolia creates a new one. Otherwise, existing rules are replaced. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/
|
|
1892
|
+
* Create or update multiple rules. If a rule with the specified object ID doesn\'t exist, Algolia creates a new one. Otherwise, existing rules are replaced. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1893
1893
|
*
|
|
1894
1894
|
* Required API Key ACLs:
|
|
1895
1895
|
* - editSettings
|
|
@@ -1926,7 +1926,7 @@ function createSearchClient({
|
|
|
1926
1926
|
return transporter.request(request, requestOptions);
|
|
1927
1927
|
},
|
|
1928
1928
|
/**
|
|
1929
|
-
* If a synonym with the specified object ID doesn\'t exist, Algolia adds a new one. Otherwise, the existing synonym is replaced. To add multiple synonyms in a single API request, use the [`batch` operation](
|
|
1929
|
+
* If a synonym with the specified object ID doesn\'t exist, Algolia adds a new one. Otherwise, the existing synonym is replaced. To add multiple synonyms in a single API request, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/save-synonyms).
|
|
1930
1930
|
*
|
|
1931
1931
|
* Required API Key ACLs:
|
|
1932
1932
|
* - editSettings
|
|
@@ -1969,7 +1969,7 @@ function createSearchClient({
|
|
|
1969
1969
|
return transporter.request(request, requestOptions);
|
|
1970
1970
|
},
|
|
1971
1971
|
/**
|
|
1972
|
-
* If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/
|
|
1972
|
+
* If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
1973
1973
|
*
|
|
1974
1974
|
* Required API Key ACLs:
|
|
1975
1975
|
* - editSettings
|
|
@@ -2157,7 +2157,7 @@ function createSearchClient({
|
|
|
2157
2157
|
return transporter.request(request, requestOptions);
|
|
2158
2158
|
},
|
|
2159
2159
|
/**
|
|
2160
|
-
* Searches a single index and returns matching search results
|
|
2160
|
+
* Searches a single index and returns matching search results as hits. This method lets you retrieve up to 1,000 hits. If you need more, use the [`browse` operation](https://www.algolia.com/doc/rest-api/search/browse) or increase the `paginatedLimitedTo` index setting.
|
|
2161
2161
|
*
|
|
2162
2162
|
* Required API Key ACLs:
|
|
2163
2163
|
* - search
|