@algolia/client-search 5.0.0-alpha.106 → 5.0.0-alpha.108
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 +22 -17
- 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 +6 -8
- package/dist/model/dictionaryEntry.d.ts.map +1 -1
- 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 +3 -2
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +2 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettings.d.ts +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
- 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 +3 -2
- package/dist/model/removeStopWords.d.ts.map +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 +5 -7
- package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
- 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 +4 -1
- 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/supportedLanguage.d.ts +5 -0
- package/dist/model/supportedLanguage.d.ts.map +1 -0
- 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 +24 -17
- 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 +6 -8
- 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 +4 -2
- package/model/index.ts +2 -0
- package/model/indexSettings.ts +1 -1
- package/model/indexSettingsAsSearchParams.ts +32 -36
- 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 +4 -2
- 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 +6 -7
- 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 +4 -1
- 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/supportedLanguage.ts +74 -0
- 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
|
@@ -737,7 +737,7 @@ function createXhrRequester() {
|
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
// 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.
|
|
740
|
-
const apiClientVersion = '5.0.0-alpha.
|
|
740
|
+
const apiClientVersion = '5.0.0-alpha.108';
|
|
741
741
|
function getDefaultHosts(appId) {
|
|
742
742
|
return [
|
|
743
743
|
{
|
|
@@ -1075,7 +1075,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1075
1075
|
return { copyOperationResponse, batchResponses, moveOperationResponse };
|
|
1076
1076
|
},
|
|
1077
1077
|
/**
|
|
1078
|
-
*
|
|
1078
|
+
* Creates a new API key with specific permissions and restrictions.
|
|
1079
1079
|
*
|
|
1080
1080
|
* Required API Key ACLs:
|
|
1081
1081
|
* - admin.
|
|
@@ -1103,15 +1103,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1103
1103
|
return transporter.request(request, requestOptions);
|
|
1104
1104
|
},
|
|
1105
1105
|
/**
|
|
1106
|
-
* If
|
|
1106
|
+
* 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).
|
|
1107
1107
|
*
|
|
1108
1108
|
* Required API Key ACLs:
|
|
1109
1109
|
* - addObject.
|
|
1110
1110
|
*
|
|
1111
1111
|
* @param addOrUpdateObject - The addOrUpdateObject object.
|
|
1112
|
-
* @param addOrUpdateObject.indexName -
|
|
1113
|
-
* @param addOrUpdateObject.objectID - Unique record
|
|
1114
|
-
* @param addOrUpdateObject.body -
|
|
1112
|
+
* @param addOrUpdateObject.indexName - Name of the index on which to perform the operation.
|
|
1113
|
+
* @param addOrUpdateObject.objectID - Unique record identifier.
|
|
1114
|
+
* @param addOrUpdateObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
1115
1115
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1116
1116
|
*/
|
|
1117
1117
|
addOrUpdateObject({ indexName, objectID, body }, requestOptions) {
|
|
@@ -1139,7 +1139,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1139
1139
|
return transporter.request(request, requestOptions);
|
|
1140
1140
|
},
|
|
1141
1141
|
/**
|
|
1142
|
-
*
|
|
1142
|
+
* Adds a source to the list of allowed sources.
|
|
1143
1143
|
*
|
|
1144
1144
|
* Required API Key ACLs:
|
|
1145
1145
|
* - admin.
|
|
@@ -1167,13 +1167,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1167
1167
|
return transporter.request(request, requestOptions);
|
|
1168
1168
|
},
|
|
1169
1169
|
/**
|
|
1170
|
-
*
|
|
1170
|
+
* 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.
|
|
1171
1171
|
*
|
|
1172
1172
|
* Required API Key ACLs:
|
|
1173
1173
|
* - admin.
|
|
1174
1174
|
*
|
|
1175
1175
|
* @param assignUserId - The assignUserId object.
|
|
1176
|
-
* @param assignUserId.xAlgoliaUserID -
|
|
1176
|
+
* @param assignUserId.xAlgoliaUserID - User ID to assign.
|
|
1177
1177
|
* @param assignUserId.assignUserIdParams - The assignUserIdParams object.
|
|
1178
1178
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1179
1179
|
*/
|
|
@@ -1203,10 +1203,10 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1203
1203
|
return transporter.request(request, requestOptions);
|
|
1204
1204
|
},
|
|
1205
1205
|
/**
|
|
1206
|
-
*
|
|
1206
|
+
* 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.
|
|
1207
1207
|
*
|
|
1208
1208
|
* @param batch - The batch object.
|
|
1209
|
-
* @param batch.indexName -
|
|
1209
|
+
* @param batch.indexName - Name of the index on which to perform the operation.
|
|
1210
1210
|
* @param batch.batchWriteParams - The batchWriteParams object.
|
|
1211
1211
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1212
1212
|
*/
|
|
@@ -1233,13 +1233,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1233
1233
|
return transporter.request(request, requestOptions);
|
|
1234
1234
|
},
|
|
1235
1235
|
/**
|
|
1236
|
-
*
|
|
1236
|
+
* Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**.
|
|
1237
1237
|
*
|
|
1238
1238
|
* Required API Key ACLs:
|
|
1239
1239
|
* - admin.
|
|
1240
1240
|
*
|
|
1241
1241
|
* @param batchAssignUserIds - The batchAssignUserIds object.
|
|
1242
|
-
* @param batchAssignUserIds.xAlgoliaUserID -
|
|
1242
|
+
* @param batchAssignUserIds.xAlgoliaUserID - User ID to assign.
|
|
1243
1243
|
* @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
|
|
1244
1244
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1245
1245
|
*/
|
|
@@ -1272,13 +1272,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1272
1272
|
return transporter.request(request, requestOptions);
|
|
1273
1273
|
},
|
|
1274
1274
|
/**
|
|
1275
|
-
*
|
|
1275
|
+
* Adds or deletes multiple entries from your plurals, segmentation, or stop word dictionaries.
|
|
1276
1276
|
*
|
|
1277
1277
|
* Required API Key ACLs:
|
|
1278
1278
|
* - editSettings.
|
|
1279
1279
|
*
|
|
1280
1280
|
* @param batchDictionaryEntries - The batchDictionaryEntries object.
|
|
1281
|
-
* @param batchDictionaryEntries.dictionaryName - Dictionary to search
|
|
1281
|
+
* @param batchDictionaryEntries.dictionaryName - Dictionary type in which to search.
|
|
1282
1282
|
* @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
|
|
1283
1283
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1284
1284
|
*/
|
|
@@ -1305,13 +1305,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1305
1305
|
return transporter.request(request, requestOptions);
|
|
1306
1306
|
},
|
|
1307
1307
|
/**
|
|
1308
|
-
*
|
|
1308
|
+
* 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.
|
|
1309
1309
|
*
|
|
1310
1310
|
* Required API Key ACLs:
|
|
1311
1311
|
* - browse.
|
|
1312
1312
|
*
|
|
1313
1313
|
* @param browse - The browse object.
|
|
1314
|
-
* @param browse.indexName -
|
|
1314
|
+
* @param browse.indexName - Name of the index on which to perform the operation.
|
|
1315
1315
|
* @param browse.browseParams - The browseParams object.
|
|
1316
1316
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1317
1317
|
*/
|
|
@@ -1332,13 +1332,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1332
1332
|
return transporter.request(request, requestOptions);
|
|
1333
1333
|
},
|
|
1334
1334
|
/**
|
|
1335
|
-
*
|
|
1335
|
+
* Deletes only the records from an index while keeping settings, synonyms, and rules.
|
|
1336
1336
|
*
|
|
1337
1337
|
* Required API Key ACLs:
|
|
1338
1338
|
* - deleteIndex.
|
|
1339
1339
|
*
|
|
1340
1340
|
* @param clearObjects - The clearObjects object.
|
|
1341
|
-
* @param clearObjects.indexName -
|
|
1341
|
+
* @param clearObjects.indexName - Name of the index on which to perform the operation.
|
|
1342
1342
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1343
1343
|
*/
|
|
1344
1344
|
clearObjects({ indexName }, requestOptions) {
|
|
@@ -1357,14 +1357,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1357
1357
|
return transporter.request(request, requestOptions);
|
|
1358
1358
|
},
|
|
1359
1359
|
/**
|
|
1360
|
-
*
|
|
1360
|
+
* Deletes all rules from the index.
|
|
1361
1361
|
*
|
|
1362
1362
|
* Required API Key ACLs:
|
|
1363
1363
|
* - editSettings.
|
|
1364
1364
|
*
|
|
1365
1365
|
* @param clearRules - The clearRules object.
|
|
1366
|
-
* @param clearRules.indexName -
|
|
1367
|
-
* @param clearRules.forwardToReplicas -
|
|
1366
|
+
* @param clearRules.indexName - Name of the index on which to perform the operation.
|
|
1367
|
+
* @param clearRules.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1368
1368
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1369
1369
|
*/
|
|
1370
1370
|
clearRules({ indexName, forwardToReplicas }, requestOptions) {
|
|
@@ -1386,14 +1386,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1386
1386
|
return transporter.request(request, requestOptions);
|
|
1387
1387
|
},
|
|
1388
1388
|
/**
|
|
1389
|
-
*
|
|
1389
|
+
* Deletes all synonyms from the index.
|
|
1390
1390
|
*
|
|
1391
1391
|
* Required API Key ACLs:
|
|
1392
1392
|
* - editSettings.
|
|
1393
1393
|
*
|
|
1394
1394
|
* @param clearSynonyms - The clearSynonyms object.
|
|
1395
|
-
* @param clearSynonyms.indexName -
|
|
1396
|
-
* @param clearSynonyms.forwardToReplicas -
|
|
1395
|
+
* @param clearSynonyms.indexName - Name of the index on which to perform the operation.
|
|
1396
|
+
* @param clearSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1397
1397
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1398
1398
|
*/
|
|
1399
1399
|
clearSynonyms({ indexName, forwardToReplicas }, requestOptions) {
|
|
@@ -1511,7 +1511,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1511
1511
|
return transporter.request(request, requestOptions);
|
|
1512
1512
|
},
|
|
1513
1513
|
/**
|
|
1514
|
-
*
|
|
1514
|
+
* Deletes the API key.
|
|
1515
1515
|
*
|
|
1516
1516
|
* Required API Key ACLs:
|
|
1517
1517
|
* - admin.
|
|
@@ -1536,13 +1536,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1536
1536
|
return transporter.request(request, requestOptions);
|
|
1537
1537
|
},
|
|
1538
1538
|
/**
|
|
1539
|
-
* This operation doesn\'t
|
|
1539
|
+
* 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).
|
|
1540
1540
|
*
|
|
1541
1541
|
* Required API Key ACLs:
|
|
1542
1542
|
* - deleteIndex.
|
|
1543
1543
|
*
|
|
1544
1544
|
* @param deleteBy - The deleteBy object.
|
|
1545
|
-
* @param deleteBy.indexName -
|
|
1545
|
+
* @param deleteBy.indexName - Name of the index on which to perform the operation.
|
|
1546
1546
|
* @param deleteBy.deleteByParams - The deleteByParams object.
|
|
1547
1547
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1548
1548
|
*/
|
|
@@ -1566,13 +1566,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1566
1566
|
return transporter.request(request, requestOptions);
|
|
1567
1567
|
},
|
|
1568
1568
|
/**
|
|
1569
|
-
*
|
|
1569
|
+
* 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/).
|
|
1570
1570
|
*
|
|
1571
1571
|
* Required API Key ACLs:
|
|
1572
1572
|
* - deleteIndex.
|
|
1573
1573
|
*
|
|
1574
1574
|
* @param deleteIndex - The deleteIndex object.
|
|
1575
|
-
* @param deleteIndex.indexName -
|
|
1575
|
+
* @param deleteIndex.indexName - Name of the index on which to perform the operation.
|
|
1576
1576
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1577
1577
|
*/
|
|
1578
1578
|
deleteIndex({ indexName }, requestOptions) {
|
|
@@ -1591,14 +1591,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1591
1591
|
return transporter.request(request, requestOptions);
|
|
1592
1592
|
},
|
|
1593
1593
|
/**
|
|
1594
|
-
* To delete
|
|
1594
|
+
* 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).
|
|
1595
1595
|
*
|
|
1596
1596
|
* Required API Key ACLs:
|
|
1597
1597
|
* - deleteObject.
|
|
1598
1598
|
*
|
|
1599
1599
|
* @param deleteObject - The deleteObject object.
|
|
1600
|
-
* @param deleteObject.indexName -
|
|
1601
|
-
* @param deleteObject.objectID - Unique record
|
|
1600
|
+
* @param deleteObject.indexName - Name of the index on which to perform the operation.
|
|
1601
|
+
* @param deleteObject.objectID - Unique record identifier.
|
|
1602
1602
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1603
1603
|
*/
|
|
1604
1604
|
deleteObject({ indexName, objectID }, requestOptions) {
|
|
@@ -1622,15 +1622,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1622
1622
|
return transporter.request(request, requestOptions);
|
|
1623
1623
|
},
|
|
1624
1624
|
/**
|
|
1625
|
-
*
|
|
1625
|
+
* Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
1626
1626
|
*
|
|
1627
1627
|
* Required API Key ACLs:
|
|
1628
1628
|
* - editSettings.
|
|
1629
1629
|
*
|
|
1630
1630
|
* @param deleteRule - The deleteRule object.
|
|
1631
|
-
* @param deleteRule.indexName -
|
|
1631
|
+
* @param deleteRule.indexName - Name of the index on which to perform the operation.
|
|
1632
1632
|
* @param deleteRule.objectID - Unique identifier of a rule object.
|
|
1633
|
-
* @param deleteRule.forwardToReplicas -
|
|
1633
|
+
* @param deleteRule.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1634
1634
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1635
1635
|
*/
|
|
1636
1636
|
deleteRule({ indexName, objectID, forwardToReplicas }, requestOptions) {
|
|
@@ -1657,7 +1657,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1657
1657
|
return transporter.request(request, requestOptions);
|
|
1658
1658
|
},
|
|
1659
1659
|
/**
|
|
1660
|
-
*
|
|
1660
|
+
* Deletes a source from the list of allowed sources.
|
|
1661
1661
|
*
|
|
1662
1662
|
* Required API Key ACLs:
|
|
1663
1663
|
* - admin.
|
|
@@ -1682,15 +1682,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1682
1682
|
return transporter.request(request, requestOptions);
|
|
1683
1683
|
},
|
|
1684
1684
|
/**
|
|
1685
|
-
*
|
|
1685
|
+
* Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
|
|
1686
1686
|
*
|
|
1687
1687
|
* Required API Key ACLs:
|
|
1688
1688
|
* - editSettings.
|
|
1689
1689
|
*
|
|
1690
1690
|
* @param deleteSynonym - The deleteSynonym object.
|
|
1691
|
-
* @param deleteSynonym.indexName -
|
|
1691
|
+
* @param deleteSynonym.indexName - Name of the index on which to perform the operation.
|
|
1692
1692
|
* @param deleteSynonym.objectID - Unique identifier of a synonym object.
|
|
1693
|
-
* @param deleteSynonym.forwardToReplicas -
|
|
1693
|
+
* @param deleteSynonym.forwardToReplicas - Whether changes are applied to replica indices.
|
|
1694
1694
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1695
1695
|
*/
|
|
1696
1696
|
deleteSynonym({ indexName, objectID, forwardToReplicas }, requestOptions) {
|
|
@@ -1717,7 +1717,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1717
1717
|
return transporter.request(request, requestOptions);
|
|
1718
1718
|
},
|
|
1719
1719
|
/**
|
|
1720
|
-
*
|
|
1720
|
+
* 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.
|
|
1721
1721
|
*
|
|
1722
1722
|
* @param getApiKey - The getApiKey object.
|
|
1723
1723
|
* @param getApiKey.key - API key.
|
|
@@ -1739,7 +1739,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1739
1739
|
return transporter.request(request, requestOptions);
|
|
1740
1740
|
},
|
|
1741
1741
|
/**
|
|
1742
|
-
* Lists
|
|
1742
|
+
* Lists supported languages with their supported dictionary types and number of custom entries.
|
|
1743
1743
|
*
|
|
1744
1744
|
* Required API Key ACLs:
|
|
1745
1745
|
* - settings.
|
|
@@ -1759,7 +1759,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1759
1759
|
return transporter.request(request, requestOptions);
|
|
1760
1760
|
},
|
|
1761
1761
|
/**
|
|
1762
|
-
*
|
|
1762
|
+
* Retrieves the languages for which standard dictionary entries are turned off.
|
|
1763
1763
|
*
|
|
1764
1764
|
* Required API Key ACLs:
|
|
1765
1765
|
* - settings.
|
|
@@ -1779,16 +1779,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1779
1779
|
return transporter.request(request, requestOptions);
|
|
1780
1780
|
},
|
|
1781
1781
|
/**
|
|
1782
|
-
* 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.
|
|
1782
|
+
* 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.
|
|
1783
1783
|
*
|
|
1784
1784
|
* Required API Key ACLs:
|
|
1785
1785
|
* - logs.
|
|
1786
1786
|
*
|
|
1787
1787
|
* @param getLogs - The getLogs object.
|
|
1788
|
-
* @param getLogs.offset - First log entry to retrieve.
|
|
1788
|
+
* @param getLogs.offset - First log entry to retrieve. The most recent entries are listed first.
|
|
1789
1789
|
* @param getLogs.length - Maximum number of entries to retrieve.
|
|
1790
|
-
* @param getLogs.indexName - Index for which log entries
|
|
1791
|
-
* @param getLogs.type - Type of log entries to retrieve.
|
|
1790
|
+
* @param getLogs.indexName - Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
|
|
1791
|
+
* @param getLogs.type - Type of log entries to retrieve. By default, all log entries are retrieved.
|
|
1792
1792
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1793
1793
|
*/
|
|
1794
1794
|
getLogs({ offset, length, indexName, type } = {}, requestOptions = undefined) {
|
|
@@ -1816,15 +1816,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1816
1816
|
return transporter.request(request, requestOptions);
|
|
1817
1817
|
},
|
|
1818
1818
|
/**
|
|
1819
|
-
* To
|
|
1819
|
+
* Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
|
|
1820
1820
|
*
|
|
1821
1821
|
* Required API Key ACLs:
|
|
1822
1822
|
* - search.
|
|
1823
1823
|
*
|
|
1824
1824
|
* @param getObject - The getObject object.
|
|
1825
|
-
* @param getObject.indexName -
|
|
1826
|
-
* @param getObject.objectID - Unique record
|
|
1827
|
-
* @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.
|
|
1825
|
+
* @param getObject.indexName - Name of the index on which to perform the operation.
|
|
1826
|
+
* @param getObject.objectID - Unique record identifier.
|
|
1827
|
+
* @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.
|
|
1828
1828
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1829
1829
|
*/
|
|
1830
1830
|
getObject({ indexName, objectID, attributesToRetrieve }, requestOptions) {
|
|
@@ -1851,7 +1851,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1851
1851
|
return transporter.request(request, requestOptions);
|
|
1852
1852
|
},
|
|
1853
1853
|
/**
|
|
1854
|
-
*
|
|
1854
|
+
* Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
|
|
1855
1855
|
*
|
|
1856
1856
|
* Required API Key ACLs:
|
|
1857
1857
|
* - search.
|
|
@@ -1881,13 +1881,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1881
1881
|
return transporter.request(request, requestOptions);
|
|
1882
1882
|
},
|
|
1883
1883
|
/**
|
|
1884
|
-
*
|
|
1884
|
+
* Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
1885
1885
|
*
|
|
1886
1886
|
* Required API Key ACLs:
|
|
1887
1887
|
* - settings.
|
|
1888
1888
|
*
|
|
1889
1889
|
* @param getRule - The getRule object.
|
|
1890
|
-
* @param getRule.indexName -
|
|
1890
|
+
* @param getRule.indexName - Name of the index on which to perform the operation.
|
|
1891
1891
|
* @param getRule.objectID - Unique identifier of a rule object.
|
|
1892
1892
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1893
1893
|
*/
|
|
@@ -1912,13 +1912,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1912
1912
|
return transporter.request(request, requestOptions);
|
|
1913
1913
|
},
|
|
1914
1914
|
/**
|
|
1915
|
-
*
|
|
1915
|
+
* Retrieves an object with non-null index settings.
|
|
1916
1916
|
*
|
|
1917
1917
|
* Required API Key ACLs:
|
|
1918
1918
|
* - search.
|
|
1919
1919
|
*
|
|
1920
1920
|
* @param getSettings - The getSettings object.
|
|
1921
|
-
* @param getSettings.indexName -
|
|
1921
|
+
* @param getSettings.indexName - Name of the index on which to perform the operation.
|
|
1922
1922
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1923
1923
|
*/
|
|
1924
1924
|
getSettings({ indexName }, requestOptions) {
|
|
@@ -1937,7 +1937,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1937
1937
|
return transporter.request(request, requestOptions);
|
|
1938
1938
|
},
|
|
1939
1939
|
/**
|
|
1940
|
-
*
|
|
1940
|
+
* Retrieves all allowed IP addresses with access to your application.
|
|
1941
1941
|
*
|
|
1942
1942
|
* Required API Key ACLs:
|
|
1943
1943
|
* - admin.
|
|
@@ -1957,13 +1957,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1957
1957
|
return transporter.request(request, requestOptions);
|
|
1958
1958
|
},
|
|
1959
1959
|
/**
|
|
1960
|
-
*
|
|
1960
|
+
* Retrieves a syonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
|
|
1961
1961
|
*
|
|
1962
1962
|
* Required API Key ACLs:
|
|
1963
1963
|
* - settings.
|
|
1964
1964
|
*
|
|
1965
1965
|
* @param getSynonym - The getSynonym object.
|
|
1966
|
-
* @param getSynonym.indexName -
|
|
1966
|
+
* @param getSynonym.indexName - Name of the index on which to perform the operation.
|
|
1967
1967
|
* @param getSynonym.objectID - Unique identifier of a synonym object.
|
|
1968
1968
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1969
1969
|
*/
|
|
@@ -1988,13 +1988,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1988
1988
|
return transporter.request(request, requestOptions);
|
|
1989
1989
|
},
|
|
1990
1990
|
/**
|
|
1991
|
-
*
|
|
1991
|
+
* 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.
|
|
1992
1992
|
*
|
|
1993
1993
|
* Required API Key ACLs:
|
|
1994
1994
|
* - addObject.
|
|
1995
1995
|
*
|
|
1996
1996
|
* @param getTask - The getTask object.
|
|
1997
|
-
* @param getTask.indexName -
|
|
1997
|
+
* @param getTask.indexName - Name of the index on which to perform the operation.
|
|
1998
1998
|
* @param getTask.taskID - Unique task identifier.
|
|
1999
1999
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2000
2000
|
*/
|
|
@@ -2019,7 +2019,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2019
2019
|
return transporter.request(request, requestOptions);
|
|
2020
2020
|
},
|
|
2021
2021
|
/**
|
|
2022
|
-
* Get the IDs of the 10 users with the highest number of records per cluster.
|
|
2022
|
+
* 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.
|
|
2023
2023
|
*
|
|
2024
2024
|
* Required API Key ACLs:
|
|
2025
2025
|
* - admin.
|
|
@@ -2039,13 +2039,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2039
2039
|
return transporter.request(request, requestOptions);
|
|
2040
2040
|
},
|
|
2041
2041
|
/**
|
|
2042
|
-
* Returns the
|
|
2042
|
+
* 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.
|
|
2043
2043
|
*
|
|
2044
2044
|
* Required API Key ACLs:
|
|
2045
2045
|
* - admin.
|
|
2046
2046
|
*
|
|
2047
2047
|
* @param getUserId - The getUserId object.
|
|
2048
|
-
* @param getUserId.userID -
|
|
2048
|
+
* @param getUserId.userID - User ID to assign.
|
|
2049
2049
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2050
2050
|
*/
|
|
2051
2051
|
getUserId({ userID }, requestOptions) {
|
|
@@ -2070,7 +2070,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2070
2070
|
* - admin.
|
|
2071
2071
|
*
|
|
2072
2072
|
* @param hasPendingMappings - The hasPendingMappings object.
|
|
2073
|
-
* @param hasPendingMappings.getClusters -
|
|
2073
|
+
* @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
|
|
2074
2074
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2075
2075
|
*/
|
|
2076
2076
|
hasPendingMappings({ getClusters } = {}, requestOptions = undefined) {
|
|
@@ -2089,7 +2089,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2089
2089
|
return transporter.request(request, requestOptions);
|
|
2090
2090
|
},
|
|
2091
2091
|
/**
|
|
2092
|
-
*
|
|
2092
|
+
* Lists all API keys associated with your Algolia application, including their permissions and restrictions.
|
|
2093
2093
|
*
|
|
2094
2094
|
* Required API Key ACLs:
|
|
2095
2095
|
* - admin.
|
|
@@ -2109,7 +2109,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2109
2109
|
return transporter.request(request, requestOptions);
|
|
2110
2110
|
},
|
|
2111
2111
|
/**
|
|
2112
|
-
*
|
|
2112
|
+
* Lists the available clusters in a multi-cluster setup.
|
|
2113
2113
|
*
|
|
2114
2114
|
* Required API Key ACLs:
|
|
2115
2115
|
* - admin.
|
|
@@ -2129,14 +2129,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2129
2129
|
return transporter.request(request, requestOptions);
|
|
2130
2130
|
},
|
|
2131
2131
|
/**
|
|
2132
|
-
*
|
|
2132
|
+
* Lists all indices in the current Algolia application. The request follows any index restrictions of the API key you use to make the request.
|
|
2133
2133
|
*
|
|
2134
2134
|
* Required API Key ACLs:
|
|
2135
2135
|
* - listIndexes.
|
|
2136
2136
|
*
|
|
2137
2137
|
* @param listIndices - The listIndices object.
|
|
2138
|
-
* @param listIndices.page -
|
|
2139
|
-
* @param listIndices.hitsPerPage -
|
|
2138
|
+
* @param listIndices.page - Requested page of the API response. If `null`, the API response is not paginated.
|
|
2139
|
+
* @param listIndices.hitsPerPage - Number of hits per page.
|
|
2140
2140
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2141
2141
|
*/
|
|
2142
2142
|
listIndices({ page, hitsPerPage } = {}, requestOptions = undefined) {
|
|
@@ -2158,14 +2158,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2158
2158
|
return transporter.request(request, requestOptions);
|
|
2159
2159
|
},
|
|
2160
2160
|
/**
|
|
2161
|
-
*
|
|
2161
|
+
* 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.
|
|
2162
2162
|
*
|
|
2163
2163
|
* Required API Key ACLs:
|
|
2164
2164
|
* - admin.
|
|
2165
2165
|
*
|
|
2166
2166
|
* @param listUserIds - The listUserIds object.
|
|
2167
|
-
* @param listUserIds.page -
|
|
2168
|
-
* @param listUserIds.hitsPerPage -
|
|
2167
|
+
* @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
|
|
2168
|
+
* @param listUserIds.hitsPerPage - Number of hits per page.
|
|
2169
2169
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2170
2170
|
*/
|
|
2171
2171
|
listUserIds({ page, hitsPerPage } = {}, requestOptions = undefined) {
|
|
@@ -2187,7 +2187,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2187
2187
|
return transporter.request(request, requestOptions);
|
|
2188
2188
|
},
|
|
2189
2189
|
/**
|
|
2190
|
-
*
|
|
2190
|
+
* 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.
|
|
2191
2191
|
*
|
|
2192
2192
|
* @param batchParams - The batchParams object.
|
|
2193
2193
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2212,13 +2212,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2212
2212
|
return transporter.request(request, requestOptions);
|
|
2213
2213
|
},
|
|
2214
2214
|
/**
|
|
2215
|
-
*
|
|
2215
|
+
* 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/).
|
|
2216
2216
|
*
|
|
2217
2217
|
* Required API Key ACLs:
|
|
2218
2218
|
* - addObject.
|
|
2219
2219
|
*
|
|
2220
2220
|
* @param operationIndex - The operationIndex object.
|
|
2221
|
-
* @param operationIndex.indexName -
|
|
2221
|
+
* @param operationIndex.indexName - Name of the index on which to perform the operation.
|
|
2222
2222
|
* @param operationIndex.operationIndexParams - The operationIndexParams object.
|
|
2223
2223
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2224
2224
|
*/
|
|
@@ -2248,16 +2248,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2248
2248
|
return transporter.request(request, requestOptions);
|
|
2249
2249
|
},
|
|
2250
2250
|
/**
|
|
2251
|
-
*
|
|
2251
|
+
* 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.
|
|
2252
2252
|
*
|
|
2253
2253
|
* Required API Key ACLs:
|
|
2254
2254
|
* - addObject.
|
|
2255
2255
|
*
|
|
2256
2256
|
* @param partialUpdateObject - The partialUpdateObject object.
|
|
2257
|
-
* @param partialUpdateObject.indexName -
|
|
2258
|
-
* @param partialUpdateObject.objectID - Unique record
|
|
2259
|
-
* @param partialUpdateObject.attributesToUpdate -
|
|
2260
|
-
* @param partialUpdateObject.createIfNotExists -
|
|
2257
|
+
* @param partialUpdateObject.indexName - Name of the index on which to perform the operation.
|
|
2258
|
+
* @param partialUpdateObject.objectID - Unique record identifier.
|
|
2259
|
+
* @param partialUpdateObject.attributesToUpdate - Attributes with their values.
|
|
2260
|
+
* @param partialUpdateObject.createIfNotExists - Whether to create a new record if it doesn\'t exist.
|
|
2261
2261
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2262
2262
|
*/
|
|
2263
2263
|
partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }, requestOptions) {
|
|
@@ -2288,13 +2288,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2288
2288
|
return transporter.request(request, requestOptions);
|
|
2289
2289
|
},
|
|
2290
2290
|
/**
|
|
2291
|
-
*
|
|
2291
|
+
* Deletes a user ID and its associated data from the clusters.
|
|
2292
2292
|
*
|
|
2293
2293
|
* Required API Key ACLs:
|
|
2294
2294
|
* - admin.
|
|
2295
2295
|
*
|
|
2296
2296
|
* @param removeUserId - The removeUserId object.
|
|
2297
|
-
* @param removeUserId.userID -
|
|
2297
|
+
* @param removeUserId.userID - User ID to assign.
|
|
2298
2298
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2299
2299
|
*/
|
|
2300
2300
|
removeUserId({ userID }, requestOptions) {
|
|
@@ -2313,7 +2313,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2313
2313
|
return transporter.request(request, requestOptions);
|
|
2314
2314
|
},
|
|
2315
2315
|
/**
|
|
2316
|
-
*
|
|
2316
|
+
* Replaces the list of allowed sources.
|
|
2317
2317
|
*
|
|
2318
2318
|
* Required API Key ACLs:
|
|
2319
2319
|
* - admin.
|
|
@@ -2339,7 +2339,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2339
2339
|
return transporter.request(request, requestOptions);
|
|
2340
2340
|
},
|
|
2341
2341
|
/**
|
|
2342
|
-
*
|
|
2342
|
+
* 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.
|
|
2343
2343
|
*
|
|
2344
2344
|
* Required API Key ACLs:
|
|
2345
2345
|
* - admin.
|
|
@@ -2364,14 +2364,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2364
2364
|
return transporter.request(request, requestOptions);
|
|
2365
2365
|
},
|
|
2366
2366
|
/**
|
|
2367
|
-
*
|
|
2367
|
+
* 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).
|
|
2368
2368
|
*
|
|
2369
2369
|
* Required API Key ACLs:
|
|
2370
2370
|
* - addObject.
|
|
2371
2371
|
*
|
|
2372
2372
|
* @param saveObject - The saveObject object.
|
|
2373
|
-
* @param saveObject.indexName -
|
|
2374
|
-
* @param saveObject.body - The
|
|
2373
|
+
* @param saveObject.indexName - Name of the index on which to perform the operation.
|
|
2374
|
+
* @param saveObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
2375
2375
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2376
2376
|
*/
|
|
2377
2377
|
saveObject({ indexName, body }, requestOptions) {
|
|
@@ -2394,16 +2394,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2394
2394
|
return transporter.request(request, requestOptions);
|
|
2395
2395
|
},
|
|
2396
2396
|
/**
|
|
2397
|
-
* To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
|
|
2397
|
+
* 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).
|
|
2398
2398
|
*
|
|
2399
2399
|
* Required API Key ACLs:
|
|
2400
2400
|
* - editSettings.
|
|
2401
2401
|
*
|
|
2402
2402
|
* @param saveRule - The saveRule object.
|
|
2403
|
-
* @param saveRule.indexName -
|
|
2403
|
+
* @param saveRule.indexName - Name of the index on which to perform the operation.
|
|
2404
2404
|
* @param saveRule.objectID - Unique identifier of a rule object.
|
|
2405
2405
|
* @param saveRule.rule - The rule object.
|
|
2406
|
-
* @param saveRule.forwardToReplicas -
|
|
2406
|
+
* @param saveRule.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2407
2407
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2408
2408
|
*/
|
|
2409
2409
|
saveRule({ indexName, objectID, rule, forwardToReplicas }, requestOptions) {
|
|
@@ -2437,16 +2437,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2437
2437
|
return transporter.request(request, requestOptions);
|
|
2438
2438
|
},
|
|
2439
2439
|
/**
|
|
2440
|
-
* Create or update multiple rules.
|
|
2440
|
+
* 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.
|
|
2441
2441
|
*
|
|
2442
2442
|
* Required API Key ACLs:
|
|
2443
2443
|
* - editSettings.
|
|
2444
2444
|
*
|
|
2445
2445
|
* @param saveRules - The saveRules object.
|
|
2446
|
-
* @param saveRules.indexName -
|
|
2446
|
+
* @param saveRules.indexName - Name of the index on which to perform the operation.
|
|
2447
2447
|
* @param saveRules.rules - The rules object.
|
|
2448
|
-
* @param saveRules.forwardToReplicas -
|
|
2449
|
-
* @param saveRules.clearExistingRules -
|
|
2448
|
+
* @param saveRules.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2449
|
+
* @param saveRules.clearExistingRules - Whether existing rules should be deleted before adding this batch.
|
|
2450
2450
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2451
2451
|
*/
|
|
2452
2452
|
saveRules({ indexName, rules, forwardToReplicas, clearExistingRules, }, requestOptions) {
|
|
@@ -2475,16 +2475,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2475
2475
|
return transporter.request(request, requestOptions);
|
|
2476
2476
|
},
|
|
2477
2477
|
/**
|
|
2478
|
-
*
|
|
2478
|
+
* 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).
|
|
2479
2479
|
*
|
|
2480
2480
|
* Required API Key ACLs:
|
|
2481
2481
|
* - editSettings.
|
|
2482
2482
|
*
|
|
2483
2483
|
* @param saveSynonym - The saveSynonym object.
|
|
2484
|
-
* @param saveSynonym.indexName -
|
|
2484
|
+
* @param saveSynonym.indexName - Name of the index on which to perform the operation.
|
|
2485
2485
|
* @param saveSynonym.objectID - Unique identifier of a synonym object.
|
|
2486
2486
|
* @param saveSynonym.synonymHit - The synonymHit object.
|
|
2487
|
-
* @param saveSynonym.forwardToReplicas -
|
|
2487
|
+
* @param saveSynonym.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2488
2488
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2489
2489
|
*/
|
|
2490
2490
|
saveSynonym({ indexName, objectID, synonymHit, forwardToReplicas }, requestOptions) {
|
|
@@ -2521,16 +2521,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2521
2521
|
return transporter.request(request, requestOptions);
|
|
2522
2522
|
},
|
|
2523
2523
|
/**
|
|
2524
|
-
*
|
|
2524
|
+
* If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced.
|
|
2525
2525
|
*
|
|
2526
2526
|
* Required API Key ACLs:
|
|
2527
2527
|
* - editSettings.
|
|
2528
2528
|
*
|
|
2529
2529
|
* @param saveSynonyms - The saveSynonyms object.
|
|
2530
|
-
* @param saveSynonyms.indexName -
|
|
2530
|
+
* @param saveSynonyms.indexName - Name of the index on which to perform the operation.
|
|
2531
2531
|
* @param saveSynonyms.synonymHit - The synonymHit object.
|
|
2532
|
-
* @param saveSynonyms.forwardToReplicas -
|
|
2533
|
-
* @param saveSynonyms.replaceExistingSynonyms -
|
|
2532
|
+
* @param saveSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2533
|
+
* @param saveSynonyms.replaceExistingSynonyms - Whether to replace all synonyms in the index with the ones sent with this request.
|
|
2534
2534
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2535
2535
|
*/
|
|
2536
2536
|
saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms, }, requestOptions) {
|
|
@@ -2560,12 +2560,12 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2560
2560
|
return transporter.request(request, requestOptions);
|
|
2561
2561
|
},
|
|
2562
2562
|
/**
|
|
2563
|
-
*
|
|
2563
|
+
* 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.
|
|
2564
2564
|
*
|
|
2565
2565
|
* Required API Key ACLs:
|
|
2566
2566
|
* - search.
|
|
2567
2567
|
*
|
|
2568
|
-
* @param searchMethodParams -
|
|
2568
|
+
* @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
|
|
2569
2569
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2570
2570
|
*/
|
|
2571
2571
|
search(searchMethodParams, requestOptions) {
|
|
@@ -2612,13 +2612,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2612
2612
|
return transporter.request(request, requestOptions);
|
|
2613
2613
|
},
|
|
2614
2614
|
/**
|
|
2615
|
-
*
|
|
2615
|
+
* Searches for standard and custom dictionary entries.
|
|
2616
2616
|
*
|
|
2617
2617
|
* Required API Key ACLs:
|
|
2618
2618
|
* - settings.
|
|
2619
2619
|
*
|
|
2620
2620
|
* @param searchDictionaryEntries - The searchDictionaryEntries object.
|
|
2621
|
-
* @param searchDictionaryEntries.dictionaryName - Dictionary to search
|
|
2621
|
+
* @param searchDictionaryEntries.dictionaryName - Dictionary type in which to search.
|
|
2622
2622
|
* @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
|
|
2623
2623
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2624
2624
|
*/
|
|
@@ -2647,14 +2647,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2647
2647
|
return transporter.request(request, requestOptions);
|
|
2648
2648
|
},
|
|
2649
2649
|
/**
|
|
2650
|
-
*
|
|
2650
|
+
* 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**.
|
|
2651
2651
|
*
|
|
2652
2652
|
* Required API Key ACLs:
|
|
2653
2653
|
* - search.
|
|
2654
2654
|
*
|
|
2655
2655
|
* @param searchForFacetValues - The searchForFacetValues object.
|
|
2656
|
-
* @param searchForFacetValues.indexName -
|
|
2657
|
-
* @param searchForFacetValues.facetName - Facet
|
|
2656
|
+
* @param searchForFacetValues.indexName - Name of the index on which to perform the operation.
|
|
2657
|
+
* @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.
|
|
2658
2658
|
* @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
|
|
2659
2659
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2660
2660
|
*/
|
|
@@ -2682,13 +2682,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2682
2682
|
return transporter.request(request, requestOptions);
|
|
2683
2683
|
},
|
|
2684
2684
|
/**
|
|
2685
|
-
*
|
|
2685
|
+
* Searches for rules in your index.
|
|
2686
2686
|
*
|
|
2687
2687
|
* Required API Key ACLs:
|
|
2688
2688
|
* - settings.
|
|
2689
2689
|
*
|
|
2690
2690
|
* @param searchRules - The searchRules object.
|
|
2691
|
-
* @param searchRules.indexName -
|
|
2691
|
+
* @param searchRules.indexName - Name of the index on which to perform the operation.
|
|
2692
2692
|
* @param searchRules.searchRulesParams - The searchRulesParams object.
|
|
2693
2693
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2694
2694
|
*/
|
|
@@ -2711,13 +2711,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2711
2711
|
return transporter.request(request, requestOptions);
|
|
2712
2712
|
},
|
|
2713
2713
|
/**
|
|
2714
|
-
*
|
|
2714
|
+
* 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.
|
|
2715
2715
|
*
|
|
2716
2716
|
* Required API Key ACLs:
|
|
2717
2717
|
* - search.
|
|
2718
2718
|
*
|
|
2719
2719
|
* @param searchSingleIndex - The searchSingleIndex object.
|
|
2720
|
-
* @param searchSingleIndex.indexName -
|
|
2720
|
+
* @param searchSingleIndex.indexName - Name of the index on which to perform the operation.
|
|
2721
2721
|
* @param searchSingleIndex.searchParams - The searchParams object.
|
|
2722
2722
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2723
2723
|
*/
|
|
@@ -2740,13 +2740,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2740
2740
|
return transporter.request(request, requestOptions);
|
|
2741
2741
|
},
|
|
2742
2742
|
/**
|
|
2743
|
-
*
|
|
2743
|
+
* Searches for synonyms in your index.
|
|
2744
2744
|
*
|
|
2745
2745
|
* Required API Key ACLs:
|
|
2746
2746
|
* - settings.
|
|
2747
2747
|
*
|
|
2748
2748
|
* @param searchSynonyms - The searchSynonyms object.
|
|
2749
|
-
* @param searchSynonyms.indexName -
|
|
2749
|
+
* @param searchSynonyms.indexName - Name of the index on which to perform the operation.
|
|
2750
2750
|
* @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
|
|
2751
2751
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2752
2752
|
*/
|
|
@@ -2769,7 +2769,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2769
2769
|
return transporter.request(request, requestOptions);
|
|
2770
2770
|
},
|
|
2771
2771
|
/**
|
|
2772
|
-
* Since it can take
|
|
2772
|
+
* 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).
|
|
2773
2773
|
*
|
|
2774
2774
|
* Required API Key ACLs:
|
|
2775
2775
|
* - admin.
|
|
@@ -2799,7 +2799,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2799
2799
|
return transporter.request(request, requestOptions);
|
|
2800
2800
|
},
|
|
2801
2801
|
/**
|
|
2802
|
-
*
|
|
2802
|
+
* Turns standard stop word dictionary entries on or off for a given language.
|
|
2803
2803
|
*
|
|
2804
2804
|
* Required API Key ACLs:
|
|
2805
2805
|
* - editSettings.
|
|
@@ -2827,15 +2827,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2827
2827
|
return transporter.request(request, requestOptions);
|
|
2828
2828
|
},
|
|
2829
2829
|
/**
|
|
2830
|
-
* Update the specified
|
|
2830
|
+
* 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.
|
|
2831
2831
|
*
|
|
2832
2832
|
* Required API Key ACLs:
|
|
2833
2833
|
* - editSettings.
|
|
2834
2834
|
*
|
|
2835
2835
|
* @param setSettings - The setSettings object.
|
|
2836
|
-
* @param setSettings.indexName -
|
|
2836
|
+
* @param setSettings.indexName - Name of the index on which to perform the operation.
|
|
2837
2837
|
* @param setSettings.indexSettings - The indexSettings object.
|
|
2838
|
-
* @param setSettings.forwardToReplicas -
|
|
2838
|
+
* @param setSettings.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2839
2839
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2840
2840
|
*/
|
|
2841
2841
|
setSettings({ indexName, indexSettings, forwardToReplicas }, requestOptions) {
|
|
@@ -2861,7 +2861,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2861
2861
|
return transporter.request(request, requestOptions);
|
|
2862
2862
|
},
|
|
2863
2863
|
/**
|
|
2864
|
-
*
|
|
2864
|
+
* Replaces the permissions of an existing API key. Any unspecified attribute resets that attribute to its default value.
|
|
2865
2865
|
*
|
|
2866
2866
|
* Required API Key ACLs:
|
|
2867
2867
|
* - admin.
|