@algolia/client-search 5.0.0-alpha.105 → 5.0.0-alpha.107
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/dist/builds/browser.d.ts +1 -1
- package/dist/builds/node.d.ts +1 -1
- package/dist/client-search.cjs +121 -121
- package/dist/client-search.esm.browser.js +121 -121
- package/dist/client-search.esm.node.js +121 -121
- package/dist/client-search.umd.js +2 -2
- package/dist/model/acl.d.ts +1 -1
- package/dist/model/action.d.ts +1 -1
- package/dist/model/addApiKeyResponse.d.ts +1 -1
- package/dist/model/anchoring.d.ts +1 -1
- package/dist/model/apiKey.d.ts +8 -8
- package/dist/model/aroundPrecision.d.ts +1 -1
- package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
- package/dist/model/aroundRadius.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts +3 -0
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/automaticFacetFilter.d.ts +4 -4
- package/dist/model/automaticFacetFilters.d.ts +1 -1
- package/dist/model/baseIndexSettings.d.ts +20 -16
- package/dist/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +24 -28
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +6 -6
- package/dist/model/batchDictionaryEntriesParams.d.ts +3 -3
- package/dist/model/batchResponse.d.ts +2 -2
- package/dist/model/builtInOperation.d.ts +2 -2
- package/dist/model/builtInOperationType.d.ts +1 -1
- package/dist/model/clientMethodProps.d.ts +63 -63
- package/dist/model/condition.d.ts +7 -3
- package/dist/model/condition.d.ts.map +1 -1
- package/dist/model/consequence.d.ts +5 -5
- package/dist/model/consequenceHide.d.ts +2 -2
- package/dist/model/consequenceQuery.d.ts +1 -1
- package/dist/model/consequenceQueryObject.d.ts +2 -2
- package/dist/model/createdAtResponse.d.ts +1 -1
- package/dist/model/cursor.d.ts +1 -1
- package/dist/model/deleteByParams.d.ts +4 -4
- package/dist/model/deletedAtResponse.d.ts +1 -1
- package/dist/model/dictionaryEntry.d.ts +5 -5
- package/dist/model/dictionaryEntryState.d.ts +1 -1
- package/dist/model/dictionaryLanguage.d.ts +2 -2
- package/dist/model/dictionarySettingsParams.d.ts +1 -1
- package/dist/model/distinct.d.ts +1 -1
- package/dist/model/edit.d.ts +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/model/facetFilters.d.ts +1 -1
- package/dist/model/facetHits.d.ts +2 -2
- package/dist/model/facetOrdering.d.ts +2 -2
- package/dist/model/facets.d.ts +2 -2
- package/dist/model/getObjectsRequest.d.ts +3 -3
- package/dist/model/getObjectsResponse.d.ts +1 -1
- package/dist/model/hasPendingMappingsResponse.d.ts +1 -1
- package/dist/model/highlightResultOption.d.ts +3 -3
- package/dist/model/hit.d.ts +4 -4
- package/dist/model/ignorePlurals.d.ts +1 -1
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettings.d.ts +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +30 -34
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/log.d.ts +11 -11
- package/dist/model/logQuery.d.ts +1 -1
- package/dist/model/matchLevel.d.ts +1 -1
- package/dist/model/mode.d.ts +1 -1
- package/dist/model/multipleBatchResponse.d.ts +2 -2
- package/dist/model/numericFilters.d.ts +1 -1
- package/dist/model/operationIndexParams.d.ts +2 -2
- package/dist/model/operationType.d.ts +1 -1
- package/dist/model/optionalFilters.d.ts +1 -1
- package/dist/model/params.d.ts +1 -1
- package/dist/model/promoteObjectID.d.ts +2 -2
- package/dist/model/promoteObjectIDs.d.ts +2 -2
- package/dist/model/queryType.d.ts +1 -1
- package/dist/model/rankingInfo.d.ts +10 -7
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/model/removeStopWords.d.ts +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/model/renderingContent.d.ts +1 -1
- package/dist/model/rule.d.ts +5 -5
- package/dist/model/saveObjectResponse.d.ts +3 -3
- package/dist/model/saveSynonymResponse.d.ts +1 -1
- package/dist/model/searchDictionaryEntriesParams.d.ts +4 -4
- package/dist/model/searchDictionaryEntriesResponse.d.ts +20 -0
- package/dist/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
- package/dist/model/searchForFacetValuesRequest.d.ts +1 -1
- package/dist/model/searchForFacetValuesResponse.d.ts +3 -0
- package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
- package/dist/model/searchForFacetsOptions.d.ts +2 -2
- package/dist/model/searchForHitsOptions.d.ts +1 -1
- package/dist/model/searchHits.d.ts +6 -3
- package/dist/model/searchHits.d.ts.map +1 -1
- package/dist/model/searchParamsQuery.d.ts +1 -1
- package/dist/model/searchRulesParams.d.ts +4 -8
- package/dist/model/searchRulesParams.d.ts.map +1 -1
- package/dist/model/searchRulesResponse.d.ts +2 -2
- package/dist/model/searchStrategy.d.ts +1 -1
- package/dist/model/searchSynonymsParams.d.ts +2 -2
- package/dist/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/model/searchUserIdsParams.d.ts +1 -1
- package/dist/model/searchUserIdsResponse.d.ts +2 -2
- package/dist/model/securedAPIKeyRestrictions.d.ts +5 -5
- package/dist/model/semanticSearch.d.ts +2 -2
- package/dist/model/snippetResultOption.d.ts +2 -2
- package/dist/model/sortRemainingBy.d.ts +1 -1
- package/dist/model/tagFilters.d.ts +1 -1
- package/dist/model/taskStatus.d.ts +1 -1
- package/dist/model/timeRange.d.ts +2 -2
- package/dist/model/typoTolerance.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts +3 -0
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/updatedAtResponse.d.ts +1 -1
- package/dist/model/updatedAtWithObjectIdResponse.d.ts +2 -2
- package/dist/model/updatedRuleResponse.d.ts +2 -2
- package/dist/model/userHit.d.ts +1 -1
- package/dist/model/userId.d.ts +1 -1
- package/dist/model/value.d.ts +1 -1
- package/dist/src/searchClient.d.ts +124 -123
- package/dist/src/searchClient.d.ts.map +1 -1
- package/model/acl.ts +1 -1
- package/model/action.ts +1 -1
- package/model/addApiKeyResponse.ts +1 -1
- package/model/anchoring.ts +1 -1
- package/model/apiKey.ts +8 -8
- package/model/aroundPrecision.ts +1 -1
- package/model/aroundPrecisionFromValueInner.ts +9 -0
- package/model/aroundRadius.ts +1 -1
- package/model/aroundRadiusAll.ts +3 -0
- package/model/automaticFacetFilter.ts +4 -4
- package/model/automaticFacetFilters.ts +1 -1
- package/model/baseIndexSettings.ts +21 -16
- package/model/baseSearchParamsWithoutQuery.ts +24 -29
- package/model/baseSearchResponse.ts +6 -6
- package/model/batchDictionaryEntriesParams.ts +3 -3
- package/model/batchResponse.ts +2 -2
- package/model/builtInOperation.ts +2 -2
- package/model/builtInOperationType.ts +1 -1
- package/model/clientMethodProps.ts +63 -63
- package/model/condition.ts +8 -3
- package/model/consequence.ts +5 -5
- package/model/consequenceHide.ts +2 -2
- package/model/consequenceQuery.ts +1 -1
- package/model/consequenceQueryObject.ts +2 -2
- package/model/createdAtResponse.ts +1 -1
- package/model/cursor.ts +1 -1
- package/model/deleteByParams.ts +4 -4
- package/model/deletedAtResponse.ts +1 -1
- package/model/dictionaryEntry.ts +5 -5
- package/model/dictionaryEntryState.ts +1 -1
- package/model/dictionaryLanguage.ts +2 -2
- package/model/dictionarySettingsParams.ts +1 -1
- package/model/distinct.ts +1 -1
- package/model/edit.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +1 -1
- package/model/facetFilters.ts +1 -1
- package/model/facetHits.ts +2 -2
- package/model/facetOrdering.ts +2 -2
- package/model/facets.ts +2 -2
- package/model/getObjectsRequest.ts +3 -3
- package/model/getObjectsResponse.ts +1 -1
- package/model/hasPendingMappingsResponse.ts +1 -1
- package/model/highlightResultOption.ts +3 -3
- package/model/hit.ts +4 -4
- package/model/ignorePlurals.ts +1 -1
- package/model/index.ts +1 -0
- package/model/indexSettings.ts +1 -1
- package/model/indexSettingsAsSearchParams.ts +30 -35
- package/model/log.ts +11 -11
- package/model/logQuery.ts +1 -1
- package/model/matchLevel.ts +1 -1
- package/model/mode.ts +1 -1
- package/model/multipleBatchResponse.ts +2 -2
- package/model/numericFilters.ts +1 -1
- package/model/operationIndexParams.ts +2 -2
- package/model/operationType.ts +1 -1
- package/model/optionalFilters.ts +1 -1
- package/model/params.ts +1 -1
- package/model/promoteObjectID.ts +2 -2
- package/model/promoteObjectIDs.ts +2 -2
- package/model/queryType.ts +1 -1
- package/model/rankingInfo.ts +10 -7
- package/model/reRankingApplyFilter.ts +1 -1
- package/model/removeStopWords.ts +1 -1
- package/model/removeWordsIfNoResults.ts +1 -1
- package/model/renderingContent.ts +1 -1
- package/model/rule.ts +5 -5
- package/model/saveObjectResponse.ts +3 -3
- package/model/saveSynonymResponse.ts +1 -1
- package/model/searchDictionaryEntriesParams.ts +4 -4
- package/model/searchDictionaryEntriesResponse.ts +25 -0
- package/model/searchForFacetValuesRequest.ts +1 -1
- package/model/searchForFacetValuesResponse.ts +3 -0
- package/model/searchForFacetsOptions.ts +2 -2
- package/model/searchForHitsOptions.ts +1 -1
- package/model/searchHits.ts +6 -3
- package/model/searchParamsQuery.ts +1 -1
- package/model/searchRulesParams.ts +4 -9
- package/model/searchRulesResponse.ts +2 -2
- package/model/searchStrategy.ts +1 -1
- package/model/searchSynonymsParams.ts +2 -2
- package/model/searchSynonymsResponse.ts +2 -2
- package/model/searchUserIdsParams.ts +1 -1
- package/model/searchUserIdsResponse.ts +2 -2
- package/model/securedAPIKeyRestrictions.ts +5 -5
- package/model/semanticSearch.ts +2 -2
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +1 -1
- package/model/tagFilters.ts +1 -1
- package/model/taskStatus.ts +1 -1
- package/model/timeRange.ts +2 -2
- package/model/typoTolerance.ts +1 -1
- package/model/typoToleranceEnum.ts +3 -0
- package/model/updatedAtResponse.ts +1 -1
- package/model/updatedAtWithObjectIdResponse.ts +2 -2
- package/model/updatedRuleResponse.ts +2 -2
- package/model/userHit.ts +1 -1
- package/model/userId.ts +1 -1
- package/model/value.ts +1 -1
- package/package.json +7 -7
|
@@ -3,7 +3,7 @@ import { createAuth, createTransporter, getAlgoliaAgent, createIterablePromise,
|
|
|
3
3
|
import { createHttpRequester } from '@algolia/requester-node-http';
|
|
4
4
|
|
|
5
5
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
6
|
-
const apiClientVersion = '5.0.0-alpha.
|
|
6
|
+
const apiClientVersion = '5.0.0-alpha.107';
|
|
7
7
|
function getDefaultHosts(appId) {
|
|
8
8
|
return [
|
|
9
9
|
{
|
|
@@ -341,7 +341,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
341
341
|
return { copyOperationResponse, batchResponses, moveOperationResponse };
|
|
342
342
|
},
|
|
343
343
|
/**
|
|
344
|
-
*
|
|
344
|
+
* Creates a new API key with specific permissions and restrictions.
|
|
345
345
|
*
|
|
346
346
|
* Required API Key ACLs:
|
|
347
347
|
* - admin.
|
|
@@ -369,15 +369,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
369
369
|
return transporter.request(request, requestOptions);
|
|
370
370
|
},
|
|
371
371
|
/**
|
|
372
|
-
* If
|
|
372
|
+
* 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).
|
|
373
373
|
*
|
|
374
374
|
* Required API Key ACLs:
|
|
375
375
|
* - addObject.
|
|
376
376
|
*
|
|
377
377
|
* @param addOrUpdateObject - The addOrUpdateObject object.
|
|
378
|
-
* @param addOrUpdateObject.indexName -
|
|
379
|
-
* @param addOrUpdateObject.objectID - Unique record
|
|
380
|
-
* @param addOrUpdateObject.body -
|
|
378
|
+
* @param addOrUpdateObject.indexName - Name of the index on which to perform the operation.
|
|
379
|
+
* @param addOrUpdateObject.objectID - Unique record identifier.
|
|
380
|
+
* @param addOrUpdateObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
381
381
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
382
382
|
*/
|
|
383
383
|
addOrUpdateObject({ indexName, objectID, body }, requestOptions) {
|
|
@@ -405,7 +405,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
405
405
|
return transporter.request(request, requestOptions);
|
|
406
406
|
},
|
|
407
407
|
/**
|
|
408
|
-
*
|
|
408
|
+
* Adds a source to the list of allowed sources.
|
|
409
409
|
*
|
|
410
410
|
* Required API Key ACLs:
|
|
411
411
|
* - admin.
|
|
@@ -433,13 +433,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
433
433
|
return transporter.request(request, requestOptions);
|
|
434
434
|
},
|
|
435
435
|
/**
|
|
436
|
-
*
|
|
436
|
+
* Assigns or moves a user ID to a cluster. The time it takes to move a user is proportional to the amount of data linked to the user ID.
|
|
437
437
|
*
|
|
438
438
|
* Required API Key ACLs:
|
|
439
439
|
* - admin.
|
|
440
440
|
*
|
|
441
441
|
* @param assignUserId - The assignUserId object.
|
|
442
|
-
* @param assignUserId.xAlgoliaUserID -
|
|
442
|
+
* @param assignUserId.xAlgoliaUserID - User ID to assign.
|
|
443
443
|
* @param assignUserId.assignUserIdParams - The assignUserIdParams object.
|
|
444
444
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
445
445
|
*/
|
|
@@ -469,10 +469,10 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
469
469
|
return transporter.request(request, requestOptions);
|
|
470
470
|
},
|
|
471
471
|
/**
|
|
472
|
-
*
|
|
472
|
+
* 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.
|
|
473
473
|
*
|
|
474
474
|
* @param batch - The batch object.
|
|
475
|
-
* @param batch.indexName -
|
|
475
|
+
* @param batch.indexName - Name of the index on which to perform the operation.
|
|
476
476
|
* @param batch.batchWriteParams - The batchWriteParams object.
|
|
477
477
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
478
478
|
*/
|
|
@@ -499,13 +499,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
499
499
|
return transporter.request(request, requestOptions);
|
|
500
500
|
},
|
|
501
501
|
/**
|
|
502
|
-
*
|
|
502
|
+
* Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**.
|
|
503
503
|
*
|
|
504
504
|
* Required API Key ACLs:
|
|
505
505
|
* - admin.
|
|
506
506
|
*
|
|
507
507
|
* @param batchAssignUserIds - The batchAssignUserIds object.
|
|
508
|
-
* @param batchAssignUserIds.xAlgoliaUserID -
|
|
508
|
+
* @param batchAssignUserIds.xAlgoliaUserID - User ID to assign.
|
|
509
509
|
* @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
|
|
510
510
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
511
511
|
*/
|
|
@@ -538,13 +538,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
538
538
|
return transporter.request(request, requestOptions);
|
|
539
539
|
},
|
|
540
540
|
/**
|
|
541
|
-
*
|
|
541
|
+
* Adds or deletes multiple entries from your plurals, segmentation, or stop word dictionaries.
|
|
542
542
|
*
|
|
543
543
|
* Required API Key ACLs:
|
|
544
544
|
* - editSettings.
|
|
545
545
|
*
|
|
546
546
|
* @param batchDictionaryEntries - The batchDictionaryEntries object.
|
|
547
|
-
* @param batchDictionaryEntries.dictionaryName - Dictionary to search
|
|
547
|
+
* @param batchDictionaryEntries.dictionaryName - Dictionary type in which to search.
|
|
548
548
|
* @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
|
|
549
549
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
550
550
|
*/
|
|
@@ -571,13 +571,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
571
571
|
return transporter.request(request, requestOptions);
|
|
572
572
|
},
|
|
573
573
|
/**
|
|
574
|
-
*
|
|
574
|
+
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. - Deduplication (`distinct`) is turned off. - There\'s no ranking for: typo-tolerance, number of matched words, proximity, geo distance.
|
|
575
575
|
*
|
|
576
576
|
* Required API Key ACLs:
|
|
577
577
|
* - browse.
|
|
578
578
|
*
|
|
579
579
|
* @param browse - The browse object.
|
|
580
|
-
* @param browse.indexName -
|
|
580
|
+
* @param browse.indexName - Name of the index on which to perform the operation.
|
|
581
581
|
* @param browse.browseParams - The browseParams object.
|
|
582
582
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
583
583
|
*/
|
|
@@ -598,13 +598,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
598
598
|
return transporter.request(request, requestOptions);
|
|
599
599
|
},
|
|
600
600
|
/**
|
|
601
|
-
*
|
|
601
|
+
* Deletes only the records from an index while keeping settings, synonyms, and rules.
|
|
602
602
|
*
|
|
603
603
|
* Required API Key ACLs:
|
|
604
604
|
* - deleteIndex.
|
|
605
605
|
*
|
|
606
606
|
* @param clearObjects - The clearObjects object.
|
|
607
|
-
* @param clearObjects.indexName -
|
|
607
|
+
* @param clearObjects.indexName - Name of the index on which to perform the operation.
|
|
608
608
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
609
609
|
*/
|
|
610
610
|
clearObjects({ indexName }, requestOptions) {
|
|
@@ -623,14 +623,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
623
623
|
return transporter.request(request, requestOptions);
|
|
624
624
|
},
|
|
625
625
|
/**
|
|
626
|
-
*
|
|
626
|
+
* Deletes all rules from the index.
|
|
627
627
|
*
|
|
628
628
|
* Required API Key ACLs:
|
|
629
629
|
* - editSettings.
|
|
630
630
|
*
|
|
631
631
|
* @param clearRules - The clearRules object.
|
|
632
|
-
* @param clearRules.indexName -
|
|
633
|
-
* @param clearRules.forwardToReplicas -
|
|
632
|
+
* @param clearRules.indexName - Name of the index on which to perform the operation.
|
|
633
|
+
* @param clearRules.forwardToReplicas - Whether changes are applied to replica indices.
|
|
634
634
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
635
635
|
*/
|
|
636
636
|
clearRules({ indexName, forwardToReplicas }, requestOptions) {
|
|
@@ -652,14 +652,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
652
652
|
return transporter.request(request, requestOptions);
|
|
653
653
|
},
|
|
654
654
|
/**
|
|
655
|
-
*
|
|
655
|
+
* Deletes all synonyms from the index.
|
|
656
656
|
*
|
|
657
657
|
* Required API Key ACLs:
|
|
658
658
|
* - editSettings.
|
|
659
659
|
*
|
|
660
660
|
* @param clearSynonyms - The clearSynonyms object.
|
|
661
|
-
* @param clearSynonyms.indexName -
|
|
662
|
-
* @param clearSynonyms.forwardToReplicas -
|
|
661
|
+
* @param clearSynonyms.indexName - Name of the index on which to perform the operation.
|
|
662
|
+
* @param clearSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
|
|
663
663
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
664
664
|
*/
|
|
665
665
|
clearSynonyms({ indexName, forwardToReplicas }, requestOptions) {
|
|
@@ -777,7 +777,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
777
777
|
return transporter.request(request, requestOptions);
|
|
778
778
|
},
|
|
779
779
|
/**
|
|
780
|
-
*
|
|
780
|
+
* Deletes the API key.
|
|
781
781
|
*
|
|
782
782
|
* Required API Key ACLs:
|
|
783
783
|
* - admin.
|
|
@@ -802,13 +802,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
802
802
|
return transporter.request(request, requestOptions);
|
|
803
803
|
},
|
|
804
804
|
/**
|
|
805
|
-
* This operation doesn\'t
|
|
805
|
+
* This operation doesn\'t accept empty queries or filters. It\'s more efficient to get a list of object IDs with the [`browse` operation](#tag/Search/operation/browse), and then delete the records using the [`batch` operation](tag/Records/operation/batch).
|
|
806
806
|
*
|
|
807
807
|
* Required API Key ACLs:
|
|
808
808
|
* - deleteIndex.
|
|
809
809
|
*
|
|
810
810
|
* @param deleteBy - The deleteBy object.
|
|
811
|
-
* @param deleteBy.indexName -
|
|
811
|
+
* @param deleteBy.indexName - Name of the index on which to perform the operation.
|
|
812
812
|
* @param deleteBy.deleteByParams - The deleteByParams object.
|
|
813
813
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
814
814
|
*/
|
|
@@ -832,13 +832,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
832
832
|
return transporter.request(request, requestOptions);
|
|
833
833
|
},
|
|
834
834
|
/**
|
|
835
|
-
*
|
|
835
|
+
* 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/).
|
|
836
836
|
*
|
|
837
837
|
* Required API Key ACLs:
|
|
838
838
|
* - deleteIndex.
|
|
839
839
|
*
|
|
840
840
|
* @param deleteIndex - The deleteIndex object.
|
|
841
|
-
* @param deleteIndex.indexName -
|
|
841
|
+
* @param deleteIndex.indexName - Name of the index on which to perform the operation.
|
|
842
842
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
843
843
|
*/
|
|
844
844
|
deleteIndex({ indexName }, requestOptions) {
|
|
@@ -857,14 +857,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
857
857
|
return transporter.request(request, requestOptions);
|
|
858
858
|
},
|
|
859
859
|
/**
|
|
860
|
-
* To delete
|
|
860
|
+
* 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).
|
|
861
861
|
*
|
|
862
862
|
* Required API Key ACLs:
|
|
863
863
|
* - deleteObject.
|
|
864
864
|
*
|
|
865
865
|
* @param deleteObject - The deleteObject object.
|
|
866
|
-
* @param deleteObject.indexName -
|
|
867
|
-
* @param deleteObject.objectID - Unique record
|
|
866
|
+
* @param deleteObject.indexName - Name of the index on which to perform the operation.
|
|
867
|
+
* @param deleteObject.objectID - Unique record identifier.
|
|
868
868
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
869
869
|
*/
|
|
870
870
|
deleteObject({ indexName, objectID }, requestOptions) {
|
|
@@ -888,15 +888,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
888
888
|
return transporter.request(request, requestOptions);
|
|
889
889
|
},
|
|
890
890
|
/**
|
|
891
|
-
*
|
|
891
|
+
* Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
892
892
|
*
|
|
893
893
|
* Required API Key ACLs:
|
|
894
894
|
* - editSettings.
|
|
895
895
|
*
|
|
896
896
|
* @param deleteRule - The deleteRule object.
|
|
897
|
-
* @param deleteRule.indexName -
|
|
897
|
+
* @param deleteRule.indexName - Name of the index on which to perform the operation.
|
|
898
898
|
* @param deleteRule.objectID - Unique identifier of a rule object.
|
|
899
|
-
* @param deleteRule.forwardToReplicas -
|
|
899
|
+
* @param deleteRule.forwardToReplicas - Whether changes are applied to replica indices.
|
|
900
900
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
901
901
|
*/
|
|
902
902
|
deleteRule({ indexName, objectID, forwardToReplicas }, requestOptions) {
|
|
@@ -923,7 +923,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
923
923
|
return transporter.request(request, requestOptions);
|
|
924
924
|
},
|
|
925
925
|
/**
|
|
926
|
-
*
|
|
926
|
+
* Deletes a source from the list of allowed sources.
|
|
927
927
|
*
|
|
928
928
|
* Required API Key ACLs:
|
|
929
929
|
* - admin.
|
|
@@ -948,15 +948,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
948
948
|
return transporter.request(request, requestOptions);
|
|
949
949
|
},
|
|
950
950
|
/**
|
|
951
|
-
*
|
|
951
|
+
* Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
|
|
952
952
|
*
|
|
953
953
|
* Required API Key ACLs:
|
|
954
954
|
* - editSettings.
|
|
955
955
|
*
|
|
956
956
|
* @param deleteSynonym - The deleteSynonym object.
|
|
957
|
-
* @param deleteSynonym.indexName -
|
|
957
|
+
* @param deleteSynonym.indexName - Name of the index on which to perform the operation.
|
|
958
958
|
* @param deleteSynonym.objectID - Unique identifier of a synonym object.
|
|
959
|
-
* @param deleteSynonym.forwardToReplicas -
|
|
959
|
+
* @param deleteSynonym.forwardToReplicas - Whether changes are applied to replica indices.
|
|
960
960
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
961
961
|
*/
|
|
962
962
|
deleteSynonym({ indexName, objectID, forwardToReplicas }, requestOptions) {
|
|
@@ -983,7 +983,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
983
983
|
return transporter.request(request, requestOptions);
|
|
984
984
|
},
|
|
985
985
|
/**
|
|
986
|
-
*
|
|
986
|
+
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application\'s keys. When authenticating with other API keys, you can only retrieve information for that key.
|
|
987
987
|
*
|
|
988
988
|
* @param getApiKey - The getApiKey object.
|
|
989
989
|
* @param getApiKey.key - API key.
|
|
@@ -1005,7 +1005,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1005
1005
|
return transporter.request(request, requestOptions);
|
|
1006
1006
|
},
|
|
1007
1007
|
/**
|
|
1008
|
-
* Lists
|
|
1008
|
+
* Lists supported languages with their supported dictionary types and number of custom entries.
|
|
1009
1009
|
*
|
|
1010
1010
|
* Required API Key ACLs:
|
|
1011
1011
|
* - settings.
|
|
@@ -1025,7 +1025,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1025
1025
|
return transporter.request(request, requestOptions);
|
|
1026
1026
|
},
|
|
1027
1027
|
/**
|
|
1028
|
-
*
|
|
1028
|
+
* Retrieves the languages for which standard dictionary entries are turned off.
|
|
1029
1029
|
*
|
|
1030
1030
|
* Required API Key ACLs:
|
|
1031
1031
|
* - settings.
|
|
@@ -1045,16 +1045,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1045
1045
|
return transporter.request(request, requestOptions);
|
|
1046
1046
|
},
|
|
1047
1047
|
/**
|
|
1048
|
-
* 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.
|
|
1048
|
+
* 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/en-us/articles/4406981829777-How-does-Algolia-count-records-and-operations-) but doesn\'t appear in the logs itself.
|
|
1049
1049
|
*
|
|
1050
1050
|
* Required API Key ACLs:
|
|
1051
1051
|
* - logs.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @param getLogs - The getLogs object.
|
|
1054
|
-
* @param getLogs.offset - First log entry to retrieve.
|
|
1054
|
+
* @param getLogs.offset - First log entry to retrieve. The most recent entries are listed first.
|
|
1055
1055
|
* @param getLogs.length - Maximum number of entries to retrieve.
|
|
1056
|
-
* @param getLogs.indexName - Index for which log entries
|
|
1057
|
-
* @param getLogs.type - Type of log entries to retrieve.
|
|
1056
|
+
* @param getLogs.indexName - Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
|
|
1057
|
+
* @param getLogs.type - Type of log entries to retrieve. By default, all log entries are retrieved.
|
|
1058
1058
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1059
1059
|
*/
|
|
1060
1060
|
getLogs({ offset, length, indexName, type } = {}, requestOptions = undefined) {
|
|
@@ -1082,15 +1082,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1082
1082
|
return transporter.request(request, requestOptions);
|
|
1083
1083
|
},
|
|
1084
1084
|
/**
|
|
1085
|
-
* To
|
|
1085
|
+
* Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
|
|
1086
1086
|
*
|
|
1087
1087
|
* Required API Key ACLs:
|
|
1088
1088
|
* - search.
|
|
1089
1089
|
*
|
|
1090
1090
|
* @param getObject - The getObject object.
|
|
1091
|
-
* @param getObject.indexName -
|
|
1092
|
-
* @param getObject.objectID - Unique record
|
|
1093
|
-
* @param getObject.attributesToRetrieve - Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned.
|
|
1091
|
+
* @param getObject.indexName - Name of the index on which to perform the operation.
|
|
1092
|
+
* @param getObject.objectID - Unique record identifier.
|
|
1093
|
+
* @param getObject.attributesToRetrieve - Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved. Attributes included in `unretrievableAttributes` won\'t be retrieved unless the request is authenticated with the admin API key.
|
|
1094
1094
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1095
1095
|
*/
|
|
1096
1096
|
getObject({ indexName, objectID, attributesToRetrieve }, requestOptions) {
|
|
@@ -1117,7 +1117,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1117
1117
|
return transporter.request(request, requestOptions);
|
|
1118
1118
|
},
|
|
1119
1119
|
/**
|
|
1120
|
-
*
|
|
1120
|
+
* Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
|
|
1121
1121
|
*
|
|
1122
1122
|
* Required API Key ACLs:
|
|
1123
1123
|
* - search.
|
|
@@ -1147,13 +1147,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1147
1147
|
return transporter.request(request, requestOptions);
|
|
1148
1148
|
},
|
|
1149
1149
|
/**
|
|
1150
|
-
*
|
|
1150
|
+
* Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
1151
1151
|
*
|
|
1152
1152
|
* Required API Key ACLs:
|
|
1153
1153
|
* - settings.
|
|
1154
1154
|
*
|
|
1155
1155
|
* @param getRule - The getRule object.
|
|
1156
|
-
* @param getRule.indexName -
|
|
1156
|
+
* @param getRule.indexName - Name of the index on which to perform the operation.
|
|
1157
1157
|
* @param getRule.objectID - Unique identifier of a rule object.
|
|
1158
1158
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1159
1159
|
*/
|
|
@@ -1178,13 +1178,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1178
1178
|
return transporter.request(request, requestOptions);
|
|
1179
1179
|
},
|
|
1180
1180
|
/**
|
|
1181
|
-
*
|
|
1181
|
+
* Retrieves an object with non-null index settings.
|
|
1182
1182
|
*
|
|
1183
1183
|
* Required API Key ACLs:
|
|
1184
1184
|
* - search.
|
|
1185
1185
|
*
|
|
1186
1186
|
* @param getSettings - The getSettings object.
|
|
1187
|
-
* @param getSettings.indexName -
|
|
1187
|
+
* @param getSettings.indexName - Name of the index on which to perform the operation.
|
|
1188
1188
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1189
1189
|
*/
|
|
1190
1190
|
getSettings({ indexName }, requestOptions) {
|
|
@@ -1203,7 +1203,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1203
1203
|
return transporter.request(request, requestOptions);
|
|
1204
1204
|
},
|
|
1205
1205
|
/**
|
|
1206
|
-
*
|
|
1206
|
+
* Retrieves all allowed IP addresses with access to your application.
|
|
1207
1207
|
*
|
|
1208
1208
|
* Required API Key ACLs:
|
|
1209
1209
|
* - admin.
|
|
@@ -1223,13 +1223,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1223
1223
|
return transporter.request(request, requestOptions);
|
|
1224
1224
|
},
|
|
1225
1225
|
/**
|
|
1226
|
-
*
|
|
1226
|
+
* Retrieves a syonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
|
|
1227
1227
|
*
|
|
1228
1228
|
* Required API Key ACLs:
|
|
1229
1229
|
* - settings.
|
|
1230
1230
|
*
|
|
1231
1231
|
* @param getSynonym - The getSynonym object.
|
|
1232
|
-
* @param getSynonym.indexName -
|
|
1232
|
+
* @param getSynonym.indexName - Name of the index on which to perform the operation.
|
|
1233
1233
|
* @param getSynonym.objectID - Unique identifier of a synonym object.
|
|
1234
1234
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1235
1235
|
*/
|
|
@@ -1254,13 +1254,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1254
1254
|
return transporter.request(request, requestOptions);
|
|
1255
1255
|
},
|
|
1256
1256
|
/**
|
|
1257
|
-
*
|
|
1257
|
+
* Checks the status of a given task. Indexing tasks are asynchronous. When you add, update, or delete records or indices, a task is created on a queue and completed depending on the load on the server. The indexing tasks\' responses include a task ID that you can use to check the status.
|
|
1258
1258
|
*
|
|
1259
1259
|
* Required API Key ACLs:
|
|
1260
1260
|
* - addObject.
|
|
1261
1261
|
*
|
|
1262
1262
|
* @param getTask - The getTask object.
|
|
1263
|
-
* @param getTask.indexName -
|
|
1263
|
+
* @param getTask.indexName - Name of the index on which to perform the operation.
|
|
1264
1264
|
* @param getTask.taskID - Unique task identifier.
|
|
1265
1265
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1266
1266
|
*/
|
|
@@ -1285,7 +1285,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1285
1285
|
return transporter.request(request, requestOptions);
|
|
1286
1286
|
},
|
|
1287
1287
|
/**
|
|
1288
|
-
* Get the IDs of the 10 users with the highest number of records per cluster.
|
|
1288
|
+
* Get the IDs of the 10 users with the highest number of records per cluster. Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time.
|
|
1289
1289
|
*
|
|
1290
1290
|
* Required API Key ACLs:
|
|
1291
1291
|
* - admin.
|
|
@@ -1305,13 +1305,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1305
1305
|
return transporter.request(request, requestOptions);
|
|
1306
1306
|
},
|
|
1307
1307
|
/**
|
|
1308
|
-
* Returns the
|
|
1308
|
+
* Returns the user ID data stored in the mapping. Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time.
|
|
1309
1309
|
*
|
|
1310
1310
|
* Required API Key ACLs:
|
|
1311
1311
|
* - admin.
|
|
1312
1312
|
*
|
|
1313
1313
|
* @param getUserId - The getUserId object.
|
|
1314
|
-
* @param getUserId.userID -
|
|
1314
|
+
* @param getUserId.userID - User ID to assign.
|
|
1315
1315
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1316
1316
|
*/
|
|
1317
1317
|
getUserId({ userID }, requestOptions) {
|
|
@@ -1336,7 +1336,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1336
1336
|
* - admin.
|
|
1337
1337
|
*
|
|
1338
1338
|
* @param hasPendingMappings - The hasPendingMappings object.
|
|
1339
|
-
* @param hasPendingMappings.getClusters -
|
|
1339
|
+
* @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
|
|
1340
1340
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1341
1341
|
*/
|
|
1342
1342
|
hasPendingMappings({ getClusters } = {}, requestOptions = undefined) {
|
|
@@ -1355,7 +1355,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1355
1355
|
return transporter.request(request, requestOptions);
|
|
1356
1356
|
},
|
|
1357
1357
|
/**
|
|
1358
|
-
*
|
|
1358
|
+
* Lists all API keys associated with your Algolia application, including their permissions and restrictions.
|
|
1359
1359
|
*
|
|
1360
1360
|
* Required API Key ACLs:
|
|
1361
1361
|
* - admin.
|
|
@@ -1375,7 +1375,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1375
1375
|
return transporter.request(request, requestOptions);
|
|
1376
1376
|
},
|
|
1377
1377
|
/**
|
|
1378
|
-
*
|
|
1378
|
+
* Lists the available clusters in a multi-cluster setup.
|
|
1379
1379
|
*
|
|
1380
1380
|
* Required API Key ACLs:
|
|
1381
1381
|
* - admin.
|
|
@@ -1395,14 +1395,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1395
1395
|
return transporter.request(request, requestOptions);
|
|
1396
1396
|
},
|
|
1397
1397
|
/**
|
|
1398
|
-
*
|
|
1398
|
+
* Lists all indices in the current Algolia application. The request follows any index restrictions of the API key you use to make the request.
|
|
1399
1399
|
*
|
|
1400
1400
|
* Required API Key ACLs:
|
|
1401
1401
|
* - listIndexes.
|
|
1402
1402
|
*
|
|
1403
1403
|
* @param listIndices - The listIndices object.
|
|
1404
|
-
* @param listIndices.page -
|
|
1405
|
-
* @param listIndices.hitsPerPage -
|
|
1404
|
+
* @param listIndices.page - Requested page of the API response. If `null`, the API response is not paginated.
|
|
1405
|
+
* @param listIndices.hitsPerPage - Number of hits per page.
|
|
1406
1406
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1407
1407
|
*/
|
|
1408
1408
|
listIndices({ page, hitsPerPage } = {}, requestOptions = undefined) {
|
|
@@ -1424,14 +1424,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1424
1424
|
return transporter.request(request, requestOptions);
|
|
1425
1425
|
},
|
|
1426
1426
|
/**
|
|
1427
|
-
*
|
|
1427
|
+
* Lists the userIDs assigned to a multi-cluster application. Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time.
|
|
1428
1428
|
*
|
|
1429
1429
|
* Required API Key ACLs:
|
|
1430
1430
|
* - admin.
|
|
1431
1431
|
*
|
|
1432
1432
|
* @param listUserIds - The listUserIds object.
|
|
1433
|
-
* @param listUserIds.page -
|
|
1434
|
-
* @param listUserIds.hitsPerPage -
|
|
1433
|
+
* @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
|
|
1434
|
+
* @param listUserIds.hitsPerPage - Number of hits per page.
|
|
1435
1435
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1436
1436
|
*/
|
|
1437
1437
|
listUserIds({ page, hitsPerPage } = {}, requestOptions = undefined) {
|
|
@@ -1453,7 +1453,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1453
1453
|
return transporter.request(request, requestOptions);
|
|
1454
1454
|
},
|
|
1455
1455
|
/**
|
|
1456
|
-
*
|
|
1456
|
+
* 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.
|
|
1457
1457
|
*
|
|
1458
1458
|
* @param batchParams - The batchParams object.
|
|
1459
1459
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -1478,13 +1478,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1478
1478
|
return transporter.request(request, requestOptions);
|
|
1479
1479
|
},
|
|
1480
1480
|
/**
|
|
1481
|
-
*
|
|
1481
|
+
* Copies or moves (renames) an index within the same Algolia application. - Existing destination indices are overwritten, except for index-specific API keys and analytics data. - If the destination index doesn\'t exist yet, it\'ll be created. **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 keep their 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/).
|
|
1482
1482
|
*
|
|
1483
1483
|
* Required API Key ACLs:
|
|
1484
1484
|
* - addObject.
|
|
1485
1485
|
*
|
|
1486
1486
|
* @param operationIndex - The operationIndex object.
|
|
1487
|
-
* @param operationIndex.indexName -
|
|
1487
|
+
* @param operationIndex.indexName - Name of the index on which to perform the operation.
|
|
1488
1488
|
* @param operationIndex.operationIndexParams - The operationIndexParams object.
|
|
1489
1489
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1490
1490
|
*/
|
|
@@ -1514,16 +1514,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1514
1514
|
return transporter.request(request, requestOptions);
|
|
1515
1515
|
},
|
|
1516
1516
|
/**
|
|
1517
|
-
*
|
|
1517
|
+
* Adds new attributes to a record, or update 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, the engine treats it as a replacement for its first-level ancestor.
|
|
1518
1518
|
*
|
|
1519
1519
|
* Required API Key ACLs:
|
|
1520
1520
|
* - addObject.
|
|
1521
1521
|
*
|
|
1522
1522
|
* @param partialUpdateObject - The partialUpdateObject object.
|
|
1523
|
-
* @param partialUpdateObject.indexName -
|
|
1524
|
-
* @param partialUpdateObject.objectID - Unique record
|
|
1525
|
-
* @param partialUpdateObject.attributesToUpdate -
|
|
1526
|
-
* @param partialUpdateObject.createIfNotExists -
|
|
1523
|
+
* @param partialUpdateObject.indexName - Name of the index on which to perform the operation.
|
|
1524
|
+
* @param partialUpdateObject.objectID - Unique record identifier.
|
|
1525
|
+
* @param partialUpdateObject.attributesToUpdate - Attributes with their values.
|
|
1526
|
+
* @param partialUpdateObject.createIfNotExists - Whether to create a new record if it doesn\'t exist.
|
|
1527
1527
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1528
1528
|
*/
|
|
1529
1529
|
partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }, requestOptions) {
|
|
@@ -1554,13 +1554,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1554
1554
|
return transporter.request(request, requestOptions);
|
|
1555
1555
|
},
|
|
1556
1556
|
/**
|
|
1557
|
-
*
|
|
1557
|
+
* Deletes a user ID and its associated data from the clusters.
|
|
1558
1558
|
*
|
|
1559
1559
|
* Required API Key ACLs:
|
|
1560
1560
|
* - admin.
|
|
1561
1561
|
*
|
|
1562
1562
|
* @param removeUserId - The removeUserId object.
|
|
1563
|
-
* @param removeUserId.userID -
|
|
1563
|
+
* @param removeUserId.userID - User ID to assign.
|
|
1564
1564
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1565
1565
|
*/
|
|
1566
1566
|
removeUserId({ userID }, requestOptions) {
|
|
@@ -1579,7 +1579,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1579
1579
|
return transporter.request(request, requestOptions);
|
|
1580
1580
|
},
|
|
1581
1581
|
/**
|
|
1582
|
-
*
|
|
1582
|
+
* Replaces the list of allowed sources.
|
|
1583
1583
|
*
|
|
1584
1584
|
* Required API Key ACLs:
|
|
1585
1585
|
* - admin.
|
|
@@ -1605,7 +1605,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1605
1605
|
return transporter.request(request, requestOptions);
|
|
1606
1606
|
},
|
|
1607
1607
|
/**
|
|
1608
|
-
*
|
|
1608
|
+
* Restores a deleted API key. Restoring resets the `validity` attribute to `0`. Algolia stores up to 1,000 API keys per application. If you create more, the oldest API keys are deleted and can\'t be restored.
|
|
1609
1609
|
*
|
|
1610
1610
|
* Required API Key ACLs:
|
|
1611
1611
|
* - admin.
|
|
@@ -1630,14 +1630,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1630
1630
|
return transporter.request(request, requestOptions);
|
|
1631
1631
|
},
|
|
1632
1632
|
/**
|
|
1633
|
-
*
|
|
1633
|
+
* Adds a record to an index or replace 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/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
|
|
1634
1634
|
*
|
|
1635
1635
|
* Required API Key ACLs:
|
|
1636
1636
|
* - addObject.
|
|
1637
1637
|
*
|
|
1638
1638
|
* @param saveObject - The saveObject object.
|
|
1639
|
-
* @param saveObject.indexName -
|
|
1640
|
-
* @param saveObject.body - The
|
|
1639
|
+
* @param saveObject.indexName - Name of the index on which to perform the operation.
|
|
1640
|
+
* @param saveObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
1641
1641
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1642
1642
|
*/
|
|
1643
1643
|
saveObject({ indexName, body }, requestOptions) {
|
|
@@ -1660,16 +1660,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1660
1660
|
return transporter.request(request, requestOptions);
|
|
1661
1661
|
},
|
|
1662
1662
|
/**
|
|
1663
|
-
* To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
|
|
1663
|
+
* 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](#tag/Rules/operation/saveRules).
|
|
1664
1664
|
*
|
|
1665
1665
|
* Required API Key ACLs:
|
|
1666
1666
|
* - editSettings.
|
|
1667
1667
|
*
|
|
1668
1668
|
* @param saveRule - The saveRule object.
|
|
1669
|
-
* @param saveRule.indexName -
|
|
1669
|
+
* @param saveRule.indexName - Name of the index on which to perform the operation.
|
|
1670
1670
|
* @param saveRule.objectID - Unique identifier of a rule object.
|
|
1671
1671
|
* @param saveRule.rule - The rule object.
|
|
1672
|
-
* @param saveRule.forwardToReplicas -
|
|
1672
|
+
* @param saveRule.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1673
1673
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1674
1674
|
*/
|
|
1675
1675
|
saveRule({ indexName, objectID, rule, forwardToReplicas }, requestOptions) {
|
|
@@ -1703,16 +1703,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1703
1703
|
return transporter.request(request, requestOptions);
|
|
1704
1704
|
},
|
|
1705
1705
|
/**
|
|
1706
|
-
* Create or update multiple rules.
|
|
1706
|
+
* 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.
|
|
1707
1707
|
*
|
|
1708
1708
|
* Required API Key ACLs:
|
|
1709
1709
|
* - editSettings.
|
|
1710
1710
|
*
|
|
1711
1711
|
* @param saveRules - The saveRules object.
|
|
1712
|
-
* @param saveRules.indexName -
|
|
1712
|
+
* @param saveRules.indexName - Name of the index on which to perform the operation.
|
|
1713
1713
|
* @param saveRules.rules - The rules object.
|
|
1714
|
-
* @param saveRules.forwardToReplicas -
|
|
1715
|
-
* @param saveRules.clearExistingRules -
|
|
1714
|
+
* @param saveRules.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1715
|
+
* @param saveRules.clearExistingRules - Whether existing rules should be deleted before adding this batch.
|
|
1716
1716
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1717
1717
|
*/
|
|
1718
1718
|
saveRules({ indexName, rules, forwardToReplicas, clearExistingRules, }, requestOptions) {
|
|
@@ -1741,16 +1741,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1741
1741
|
return transporter.request(request, requestOptions);
|
|
1742
1742
|
},
|
|
1743
1743
|
/**
|
|
1744
|
-
*
|
|
1744
|
+
* 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](#tag/Synonyms/operation/saveSynonyms).
|
|
1745
1745
|
*
|
|
1746
1746
|
* Required API Key ACLs:
|
|
1747
1747
|
* - editSettings.
|
|
1748
1748
|
*
|
|
1749
1749
|
* @param saveSynonym - The saveSynonym object.
|
|
1750
|
-
* @param saveSynonym.indexName -
|
|
1750
|
+
* @param saveSynonym.indexName - Name of the index on which to perform the operation.
|
|
1751
1751
|
* @param saveSynonym.objectID - Unique identifier of a synonym object.
|
|
1752
1752
|
* @param saveSynonym.synonymHit - The synonymHit object.
|
|
1753
|
-
* @param saveSynonym.forwardToReplicas -
|
|
1753
|
+
* @param saveSynonym.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1754
1754
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1755
1755
|
*/
|
|
1756
1756
|
saveSynonym({ indexName, objectID, synonymHit, forwardToReplicas }, requestOptions) {
|
|
@@ -1787,16 +1787,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1787
1787
|
return transporter.request(request, requestOptions);
|
|
1788
1788
|
},
|
|
1789
1789
|
/**
|
|
1790
|
-
*
|
|
1790
|
+
* If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced.
|
|
1791
1791
|
*
|
|
1792
1792
|
* Required API Key ACLs:
|
|
1793
1793
|
* - editSettings.
|
|
1794
1794
|
*
|
|
1795
1795
|
* @param saveSynonyms - The saveSynonyms object.
|
|
1796
|
-
* @param saveSynonyms.indexName -
|
|
1796
|
+
* @param saveSynonyms.indexName - Name of the index on which to perform the operation.
|
|
1797
1797
|
* @param saveSynonyms.synonymHit - The synonymHit object.
|
|
1798
|
-
* @param saveSynonyms.forwardToReplicas -
|
|
1799
|
-
* @param saveSynonyms.replaceExistingSynonyms -
|
|
1798
|
+
* @param saveSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1799
|
+
* @param saveSynonyms.replaceExistingSynonyms - Whether to replace all synonyms in the index with the ones sent with this request.
|
|
1800
1800
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1801
1801
|
*/
|
|
1802
1802
|
saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms, }, requestOptions) {
|
|
@@ -1826,12 +1826,12 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1826
1826
|
return transporter.request(request, requestOptions);
|
|
1827
1827
|
},
|
|
1828
1828
|
/**
|
|
1829
|
-
*
|
|
1829
|
+
* Sends multiple search request to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
|
|
1830
1830
|
*
|
|
1831
1831
|
* Required API Key ACLs:
|
|
1832
1832
|
* - search.
|
|
1833
1833
|
*
|
|
1834
|
-
* @param searchMethodParams -
|
|
1834
|
+
* @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
|
|
1835
1835
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1836
1836
|
*/
|
|
1837
1837
|
search(searchMethodParams, requestOptions) {
|
|
@@ -1878,13 +1878,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1878
1878
|
return transporter.request(request, requestOptions);
|
|
1879
1879
|
},
|
|
1880
1880
|
/**
|
|
1881
|
-
*
|
|
1881
|
+
* Searches for standard and custom dictionary entries.
|
|
1882
1882
|
*
|
|
1883
1883
|
* Required API Key ACLs:
|
|
1884
1884
|
* - settings.
|
|
1885
1885
|
*
|
|
1886
1886
|
* @param searchDictionaryEntries - The searchDictionaryEntries object.
|
|
1887
|
-
* @param searchDictionaryEntries.dictionaryName - Dictionary to search
|
|
1887
|
+
* @param searchDictionaryEntries.dictionaryName - Dictionary type in which to search.
|
|
1888
1888
|
* @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
|
|
1889
1889
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1890
1890
|
*/
|
|
@@ -1913,14 +1913,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1913
1913
|
return transporter.request(request, requestOptions);
|
|
1914
1914
|
},
|
|
1915
1915
|
/**
|
|
1916
|
-
*
|
|
1916
|
+
* Searches for values of a specified facet attribute. - By default, facet values are sorted by decreasing count. You can adjust this with the `sortFacetValueBy` parameter. - Searching for facet values doesn\'t work if you have **more than 65 searchable facets and searchable attributes combined**.
|
|
1917
1917
|
*
|
|
1918
1918
|
* Required API Key ACLs:
|
|
1919
1919
|
* - search.
|
|
1920
1920
|
*
|
|
1921
1921
|
* @param searchForFacetValues - The searchForFacetValues object.
|
|
1922
|
-
* @param searchForFacetValues.indexName -
|
|
1923
|
-
* @param searchForFacetValues.facetName - Facet
|
|
1922
|
+
* @param searchForFacetValues.indexName - Name of the index on which to perform the operation.
|
|
1923
|
+
* @param searchForFacetValues.facetName - Facet attribute in which to search for values. This attribute must be included in the `attributesForFaceting` index setting with the `searchable()` modifier.
|
|
1924
1924
|
* @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
|
|
1925
1925
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1926
1926
|
*/
|
|
@@ -1948,13 +1948,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1948
1948
|
return transporter.request(request, requestOptions);
|
|
1949
1949
|
},
|
|
1950
1950
|
/**
|
|
1951
|
-
*
|
|
1951
|
+
* Searches for rules in your index.
|
|
1952
1952
|
*
|
|
1953
1953
|
* Required API Key ACLs:
|
|
1954
1954
|
* - settings.
|
|
1955
1955
|
*
|
|
1956
1956
|
* @param searchRules - The searchRules object.
|
|
1957
|
-
* @param searchRules.indexName -
|
|
1957
|
+
* @param searchRules.indexName - Name of the index on which to perform the operation.
|
|
1958
1958
|
* @param searchRules.searchRulesParams - The searchRulesParams object.
|
|
1959
1959
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1960
1960
|
*/
|
|
@@ -1977,13 +1977,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1977
1977
|
return transporter.request(request, requestOptions);
|
|
1978
1978
|
},
|
|
1979
1979
|
/**
|
|
1980
|
-
*
|
|
1980
|
+
* Searches a single index and return matching search results (_hits_). This method lets you retrieve up to 1,000 hits. If you need more, use the [`browse` operation](#tag/Search/operation/browse) or increase the `paginatedLimitedTo` index setting.
|
|
1981
1981
|
*
|
|
1982
1982
|
* Required API Key ACLs:
|
|
1983
1983
|
* - search.
|
|
1984
1984
|
*
|
|
1985
1985
|
* @param searchSingleIndex - The searchSingleIndex object.
|
|
1986
|
-
* @param searchSingleIndex.indexName -
|
|
1986
|
+
* @param searchSingleIndex.indexName - Name of the index on which to perform the operation.
|
|
1987
1987
|
* @param searchSingleIndex.searchParams - The searchParams object.
|
|
1988
1988
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1989
1989
|
*/
|
|
@@ -2006,13 +2006,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2006
2006
|
return transporter.request(request, requestOptions);
|
|
2007
2007
|
},
|
|
2008
2008
|
/**
|
|
2009
|
-
*
|
|
2009
|
+
* Searches for synonyms in your index.
|
|
2010
2010
|
*
|
|
2011
2011
|
* Required API Key ACLs:
|
|
2012
2012
|
* - settings.
|
|
2013
2013
|
*
|
|
2014
2014
|
* @param searchSynonyms - The searchSynonyms object.
|
|
2015
|
-
* @param searchSynonyms.indexName -
|
|
2015
|
+
* @param searchSynonyms.indexName - Name of the index on which to perform the operation.
|
|
2016
2016
|
* @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
|
|
2017
2017
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2018
2018
|
*/
|
|
@@ -2035,7 +2035,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2035
2035
|
return transporter.request(request, requestOptions);
|
|
2036
2036
|
},
|
|
2037
2037
|
/**
|
|
2038
|
-
* Since it can take
|
|
2038
|
+
* Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time. To ensure rapid updates, the user IDs index isn\'t built at the same time as the mapping. Instead, it\'s built every 12 hours, at the same time as the update of user ID usage. For example, if you add or move a user ID, the search will show an old value until the next time the mapping is rebuilt (every 12 hours).
|
|
2039
2039
|
*
|
|
2040
2040
|
* Required API Key ACLs:
|
|
2041
2041
|
* - admin.
|
|
@@ -2065,7 +2065,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2065
2065
|
return transporter.request(request, requestOptions);
|
|
2066
2066
|
},
|
|
2067
2067
|
/**
|
|
2068
|
-
*
|
|
2068
|
+
* Turns standard stop word dictionary entries on or off for a given language.
|
|
2069
2069
|
*
|
|
2070
2070
|
* Required API Key ACLs:
|
|
2071
2071
|
* - editSettings.
|
|
@@ -2093,15 +2093,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2093
2093
|
return transporter.request(request, requestOptions);
|
|
2094
2094
|
},
|
|
2095
2095
|
/**
|
|
2096
|
-
* Update the specified
|
|
2096
|
+
* Update the specified index settings. Index settings that you don\'t specify are left unchanged. Specify `null` to reset a setting to its default value. For best performance, update the index settings before you add new records to your index.
|
|
2097
2097
|
*
|
|
2098
2098
|
* Required API Key ACLs:
|
|
2099
2099
|
* - editSettings.
|
|
2100
2100
|
*
|
|
2101
2101
|
* @param setSettings - The setSettings object.
|
|
2102
|
-
* @param setSettings.indexName -
|
|
2102
|
+
* @param setSettings.indexName - Name of the index on which to perform the operation.
|
|
2103
2103
|
* @param setSettings.indexSettings - The indexSettings object.
|
|
2104
|
-
* @param setSettings.forwardToReplicas -
|
|
2104
|
+
* @param setSettings.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2105
2105
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2106
2106
|
*/
|
|
2107
2107
|
setSettings({ indexName, indexSettings, forwardToReplicas }, requestOptions) {
|
|
@@ -2127,7 +2127,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2127
2127
|
return transporter.request(request, requestOptions);
|
|
2128
2128
|
},
|
|
2129
2129
|
/**
|
|
2130
|
-
*
|
|
2130
|
+
* Replaces the permissions of an existing API key. Any unspecified attribute resets that attribute to its default value.
|
|
2131
2131
|
*
|
|
2132
2132
|
* Required API Key ACLs:
|
|
2133
2133
|
* - admin.
|