algoliasearch 5.0.0-alpha.106 → 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/algoliasearch/builds/browser.d.ts +2 -2
- package/dist/algoliasearch/builds/node.d.ts +2 -2
- package/dist/algoliasearch.cjs +191 -191
- package/dist/algoliasearch.esm.browser.js +191 -191
- package/dist/algoliasearch.esm.node.js +191 -191
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/client-abtesting/model/aBTestResponse.d.ts +1 -1
- package/dist/client-abtesting/model/clientMethodProps.d.ts +2 -2
- package/dist/client-abtesting/src/abtestingClient.d.ts +3 -3
- package/dist/client-analytics/model/clientMethodProps.d.ts +65 -65
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +1 -1
- package/dist/client-analytics/model/topSearch.d.ts +1 -1
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +66 -66
- package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
- package/dist/client-search/model/acl.d.ts +1 -1
- package/dist/client-search/model/action.d.ts +1 -1
- package/dist/client-search/model/addApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/anchoring.d.ts +1 -1
- package/dist/client-search/model/apiKey.d.ts +8 -8
- package/dist/client-search/model/aroundPrecision.d.ts +1 -1
- package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts +9 -0
- package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
- package/dist/client-search/model/aroundRadius.d.ts +1 -1
- package/dist/client-search/model/aroundRadiusAll.d.ts +3 -0
- package/dist/client-search/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/client-search/model/automaticFacetFilter.d.ts +4 -4
- package/dist/client-search/model/automaticFacetFilters.d.ts +1 -1
- package/dist/client-search/model/baseIndexSettings.d.ts +20 -16
- package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +24 -28
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/client-search/model/baseSearchResponse.d.ts +6 -6
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
- package/dist/client-search/model/batchResponse.d.ts +2 -2
- package/dist/client-search/model/builtInOperation.d.ts +2 -2
- package/dist/client-search/model/builtInOperationType.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +63 -63
- package/dist/client-search/model/condition.d.ts +7 -3
- package/dist/client-search/model/condition.d.ts.map +1 -1
- package/dist/client-search/model/consequence.d.ts +5 -5
- package/dist/client-search/model/consequenceHide.d.ts +2 -2
- package/dist/client-search/model/consequenceQuery.d.ts +1 -1
- package/dist/client-search/model/consequenceQueryObject.d.ts +2 -2
- package/dist/client-search/model/createdAtResponse.d.ts +1 -1
- package/dist/client-search/model/cursor.d.ts +1 -1
- package/dist/client-search/model/deleteByParams.d.ts +4 -4
- package/dist/client-search/model/deletedAtResponse.d.ts +1 -1
- package/dist/client-search/model/dictionaryEntry.d.ts +5 -5
- package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
- package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
- package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +1 -1
- package/dist/client-search/model/edit.d.ts +1 -1
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/client-search/model/facetFilters.d.ts +1 -1
- package/dist/client-search/model/facetHits.d.ts +2 -2
- package/dist/client-search/model/facetOrdering.d.ts +2 -2
- package/dist/client-search/model/facets.d.ts +2 -2
- package/dist/client-search/model/getObjectsRequest.d.ts +3 -3
- package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +1 -1
- package/dist/client-search/model/highlightResultOption.d.ts +3 -3
- package/dist/client-search/model/hit.d.ts +4 -4
- package/dist/client-search/model/ignorePlurals.d.ts +1 -1
- package/dist/client-search/model/index.d.ts +1 -0
- package/dist/client-search/model/index.d.ts.map +1 -1
- package/dist/client-search/model/indexSettings.d.ts +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -34
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/client-search/model/log.d.ts +11 -11
- package/dist/client-search/model/logQuery.d.ts +1 -1
- package/dist/client-search/model/matchLevel.d.ts +1 -1
- package/dist/client-search/model/mode.d.ts +1 -1
- package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
- package/dist/client-search/model/numericFilters.d.ts +1 -1
- package/dist/client-search/model/operationIndexParams.d.ts +2 -2
- package/dist/client-search/model/operationType.d.ts +1 -1
- package/dist/client-search/model/optionalFilters.d.ts +1 -1
- package/dist/client-search/model/params.d.ts +1 -1
- package/dist/client-search/model/promoteObjectID.d.ts +2 -2
- package/dist/client-search/model/promoteObjectIDs.d.ts +2 -2
- package/dist/client-search/model/queryType.d.ts +1 -1
- package/dist/client-search/model/rankingInfo.d.ts +10 -7
- package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
- package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/client-search/model/removeStopWords.d.ts +1 -1
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/client-search/model/renderingContent.d.ts +1 -1
- package/dist/client-search/model/rule.d.ts +5 -5
- package/dist/client-search/model/saveObjectResponse.d.ts +3 -3
- package/dist/client-search/model/saveSynonymResponse.d.ts +1 -1
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +4 -4
- package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts +20 -0
- package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +1 -1
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +3 -0
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -1
- package/dist/client-search/model/searchForFacetsOptions.d.ts +2 -2
- package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
- package/dist/client-search/model/searchHits.d.ts +4 -1
- package/dist/client-search/model/searchHits.d.ts.map +1 -1
- package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
- package/dist/client-search/model/searchRulesParams.d.ts +4 -8
- package/dist/client-search/model/searchRulesParams.d.ts.map +1 -1
- package/dist/client-search/model/searchRulesResponse.d.ts +2 -2
- package/dist/client-search/model/searchStrategy.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +2 -2
- package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/client-search/model/searchUserIdsParams.d.ts +1 -1
- package/dist/client-search/model/searchUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/securedAPIKeyRestrictions.d.ts +5 -5
- package/dist/client-search/model/semanticSearch.d.ts +2 -2
- package/dist/client-search/model/snippetResultOption.d.ts +2 -2
- package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
- package/dist/client-search/model/tagFilters.d.ts +1 -1
- package/dist/client-search/model/taskStatus.d.ts +1 -1
- package/dist/client-search/model/timeRange.d.ts +2 -2
- package/dist/client-search/model/typoTolerance.d.ts +1 -1
- package/dist/client-search/model/typoToleranceEnum.d.ts +3 -0
- package/dist/client-search/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/client-search/model/updatedAtResponse.d.ts +1 -1
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +2 -2
- package/dist/client-search/model/updatedRuleResponse.d.ts +2 -2
- package/dist/client-search/model/userHit.d.ts +1 -1
- package/dist/client-search/model/userId.d.ts +1 -1
- package/dist/client-search/model/value.d.ts +1 -1
- package/dist/client-search/src/searchClient.d.ts +124 -123
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs +3 -3
- package/dist/lite/lite.esm.browser.js +3 -3
- package/dist/lite/lite.esm.node.js +3 -3
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +1 -1
- package/dist/lite/model/action.d.ts +1 -1
- package/dist/lite/model/addApiKeyResponse.d.ts +1 -1
- package/dist/lite/model/anchoring.d.ts +1 -1
- package/dist/lite/model/apiKey.d.ts +8 -8
- package/dist/lite/model/aroundPrecision.d.ts +1 -1
- package/dist/lite/model/aroundPrecisionFromValueInner.d.ts +9 -0
- package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
- package/dist/lite/model/aroundRadius.d.ts +1 -1
- package/dist/lite/model/aroundRadiusAll.d.ts +3 -0
- package/dist/lite/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/lite/model/automaticFacetFilter.d.ts +4 -4
- package/dist/lite/model/automaticFacetFilters.d.ts +1 -1
- package/dist/lite/model/baseIndexSettings.d.ts +20 -16
- package/dist/lite/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +24 -28
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/lite/model/baseSearchResponse.d.ts +6 -6
- package/dist/lite/model/builtInOperation.d.ts +2 -2
- package/dist/lite/model/builtInOperationType.d.ts +1 -1
- package/dist/lite/model/condition.d.ts +7 -3
- package/dist/lite/model/condition.d.ts.map +1 -1
- package/dist/lite/model/consequence.d.ts +5 -5
- package/dist/lite/model/consequenceHide.d.ts +2 -2
- package/dist/lite/model/consequenceQuery.d.ts +1 -1
- package/dist/lite/model/consequenceQueryObject.d.ts +2 -2
- package/dist/lite/model/cursor.d.ts +1 -1
- package/dist/lite/model/deleteByParams.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +5 -5
- package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
- package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
- package/dist/lite/model/distinct.d.ts +1 -1
- package/dist/lite/model/edit.d.ts +1 -1
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/lite/model/facetFilters.d.ts +1 -1
- package/dist/lite/model/facetHits.d.ts +2 -2
- package/dist/lite/model/facetOrdering.d.ts +2 -2
- package/dist/lite/model/facets.d.ts +2 -2
- package/dist/lite/model/highlightResultOption.d.ts +3 -3
- package/dist/lite/model/hit.d.ts +4 -4
- package/dist/lite/model/ignorePlurals.d.ts +1 -1
- package/dist/lite/model/index.d.ts +1 -0
- package/dist/lite/model/index.d.ts.map +1 -1
- package/dist/lite/model/indexSettings.d.ts +1 -1
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -34
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/lite/model/matchLevel.d.ts +1 -1
- package/dist/lite/model/mode.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +1 -1
- package/dist/lite/model/operationType.d.ts +1 -1
- package/dist/lite/model/optionalFilters.d.ts +1 -1
- package/dist/lite/model/params.d.ts +1 -1
- package/dist/lite/model/promoteObjectID.d.ts +2 -2
- package/dist/lite/model/promoteObjectIDs.d.ts +2 -2
- package/dist/lite/model/queryType.d.ts +1 -1
- package/dist/lite/model/rankingInfo.d.ts +10 -7
- package/dist/lite/model/rankingInfo.d.ts.map +1 -1
- package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/lite/model/removeStopWords.d.ts +1 -1
- package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/lite/model/renderingContent.d.ts +1 -1
- package/dist/lite/model/rule.d.ts +5 -5
- package/dist/lite/model/searchDictionaryEntriesResponse.d.ts +20 -0
- package/dist/lite/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
- package/dist/lite/model/searchForFacetValuesResponse.d.ts +3 -0
- package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -1
- package/dist/lite/model/searchForFacetsOptions.d.ts +2 -2
- package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
- package/dist/lite/model/searchHits.d.ts +4 -1
- package/dist/lite/model/searchHits.d.ts.map +1 -1
- package/dist/lite/model/searchParamsQuery.d.ts +1 -1
- package/dist/lite/model/searchStrategy.d.ts +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/lite/model/securedAPIKeyRestrictions.d.ts +5 -5
- package/dist/lite/model/semanticSearch.d.ts +2 -2
- package/dist/lite/model/snippetResultOption.d.ts +2 -2
- package/dist/lite/model/sortRemainingBy.d.ts +1 -1
- package/dist/lite/model/tagFilters.d.ts +1 -1
- package/dist/lite/model/taskStatus.d.ts +1 -1
- package/dist/lite/model/timeRange.d.ts +2 -2
- package/dist/lite/model/typoTolerance.d.ts +1 -1
- package/dist/lite/model/typoToleranceEnum.d.ts +3 -0
- package/dist/lite/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +2 -2
- package/dist/lite/model/userId.d.ts +1 -1
- package/dist/lite/model/value.d.ts +1 -1
- package/dist/lite/src/liteClient.d.ts +3 -3
- package/dist/lite/src/liteClient.d.ts.map +1 -1
- package/lite/model/acl.ts +1 -1
- package/lite/model/action.ts +1 -1
- package/lite/model/addApiKeyResponse.ts +1 -1
- package/lite/model/anchoring.ts +1 -1
- package/lite/model/apiKey.ts +8 -8
- package/lite/model/aroundPrecision.ts +1 -1
- package/lite/model/aroundPrecisionFromValueInner.ts +9 -0
- package/lite/model/aroundRadius.ts +1 -1
- package/lite/model/aroundRadiusAll.ts +3 -0
- package/lite/model/automaticFacetFilter.ts +4 -4
- package/lite/model/automaticFacetFilters.ts +1 -1
- package/lite/model/baseIndexSettings.ts +21 -16
- package/lite/model/baseSearchParamsWithoutQuery.ts +24 -29
- package/lite/model/baseSearchResponse.ts +6 -6
- package/lite/model/builtInOperation.ts +2 -2
- package/lite/model/builtInOperationType.ts +1 -1
- package/lite/model/condition.ts +8 -3
- package/lite/model/consequence.ts +5 -5
- package/lite/model/consequenceHide.ts +2 -2
- package/lite/model/consequenceQuery.ts +1 -1
- package/lite/model/consequenceQueryObject.ts +2 -2
- package/lite/model/cursor.ts +1 -1
- package/lite/model/deleteByParams.ts +4 -4
- package/lite/model/dictionaryEntry.ts +5 -5
- package/lite/model/dictionaryEntryState.ts +1 -1
- package/lite/model/dictionaryLanguage.ts +2 -2
- package/lite/model/distinct.ts +1 -1
- package/lite/model/edit.ts +1 -1
- package/lite/model/exactOnSingleWordQuery.ts +1 -1
- package/lite/model/facetFilters.ts +1 -1
- package/lite/model/facetHits.ts +2 -2
- package/lite/model/facetOrdering.ts +2 -2
- package/lite/model/facets.ts +2 -2
- package/lite/model/highlightResultOption.ts +3 -3
- package/lite/model/hit.ts +4 -4
- package/lite/model/ignorePlurals.ts +1 -1
- package/lite/model/index.ts +1 -0
- package/lite/model/indexSettings.ts +1 -1
- package/lite/model/indexSettingsAsSearchParams.ts +30 -35
- package/lite/model/matchLevel.ts +1 -1
- package/lite/model/mode.ts +1 -1
- package/lite/model/numericFilters.ts +1 -1
- package/lite/model/operationType.ts +1 -1
- package/lite/model/optionalFilters.ts +1 -1
- package/lite/model/params.ts +1 -1
- package/lite/model/promoteObjectID.ts +2 -2
- package/lite/model/promoteObjectIDs.ts +2 -2
- package/lite/model/queryType.ts +1 -1
- package/lite/model/rankingInfo.ts +10 -7
- package/lite/model/reRankingApplyFilter.ts +1 -1
- package/lite/model/removeStopWords.ts +1 -1
- package/lite/model/removeWordsIfNoResults.ts +1 -1
- package/lite/model/renderingContent.ts +1 -1
- package/lite/model/rule.ts +5 -5
- package/lite/model/searchDictionaryEntriesResponse.ts +25 -0
- package/lite/model/searchForFacetValuesResponse.ts +3 -0
- package/lite/model/searchForFacetsOptions.ts +2 -2
- package/lite/model/searchForHitsOptions.ts +1 -1
- package/lite/model/searchHits.ts +4 -1
- package/lite/model/searchParamsQuery.ts +1 -1
- package/lite/model/searchStrategy.ts +1 -1
- package/lite/model/searchSynonymsResponse.ts +2 -2
- package/lite/model/securedAPIKeyRestrictions.ts +5 -5
- package/lite/model/semanticSearch.ts +2 -2
- package/lite/model/snippetResultOption.ts +2 -2
- package/lite/model/sortRemainingBy.ts +1 -1
- package/lite/model/tagFilters.ts +1 -1
- package/lite/model/taskStatus.ts +1 -1
- package/lite/model/timeRange.ts +2 -2
- package/lite/model/typoTolerance.ts +1 -1
- package/lite/model/typoToleranceEnum.ts +3 -0
- package/lite/model/updatedRuleResponse.ts +2 -2
- package/lite/model/userId.ts +1 -1
- package/lite/model/value.ts +1 -1
- package/lite/src/liteClient.ts +3 -3
- package/package.json +11 -11
|
@@ -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$4 = '5.0.0-alpha.
|
|
6
|
+
const apiClientVersion$4 = '5.0.0-alpha.107';
|
|
7
7
|
const REGIONS$2 = ['de', 'us'];
|
|
8
8
|
function getDefaultHosts$3(region) {
|
|
9
9
|
const url = !region
|
|
@@ -249,8 +249,8 @@ function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
249
249
|
* - analytics.
|
|
250
250
|
*
|
|
251
251
|
* @param listABTests - The listABTests object.
|
|
252
|
-
* @param listABTests.offset - Position of the
|
|
253
|
-
* @param listABTests.limit - Number of
|
|
252
|
+
* @param listABTests.offset - Position of the first item to return.
|
|
253
|
+
* @param listABTests.limit - Number of items to return.
|
|
254
254
|
* @param listABTests.indexPrefix - Only return A/B tests for indices starting with this prefix.
|
|
255
255
|
* @param listABTests.indexSuffix - Only return A/B tests for indices ending with this suffix.
|
|
256
256
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -308,7 +308,7 @@ function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
// 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.
|
|
311
|
-
const apiClientVersion$3 = '5.0.0-alpha.
|
|
311
|
+
const apiClientVersion$3 = '5.0.0-alpha.107';
|
|
312
312
|
const REGIONS$1 = ['de', 'us'];
|
|
313
313
|
function getDefaultHosts$2(region) {
|
|
314
314
|
const url = !region
|
|
@@ -470,9 +470,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
470
470
|
* - analytics.
|
|
471
471
|
*
|
|
472
472
|
* @param getAverageClickPosition - The getAverageClickPosition object.
|
|
473
|
-
* @param getAverageClickPosition.index - Index name
|
|
474
|
-
* @param getAverageClickPosition.startDate - Start date (
|
|
475
|
-
* @param getAverageClickPosition.endDate - End date (
|
|
473
|
+
* @param getAverageClickPosition.index - Index name.
|
|
474
|
+
* @param getAverageClickPosition.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
475
|
+
* @param getAverageClickPosition.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
476
476
|
* @param getAverageClickPosition.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
477
477
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
478
478
|
*/
|
|
@@ -510,9 +510,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
510
510
|
* - analytics.
|
|
511
511
|
*
|
|
512
512
|
* @param getClickPositions - The getClickPositions object.
|
|
513
|
-
* @param getClickPositions.index - Index name
|
|
514
|
-
* @param getClickPositions.startDate - Start date (
|
|
515
|
-
* @param getClickPositions.endDate - End date (
|
|
513
|
+
* @param getClickPositions.index - Index name.
|
|
514
|
+
* @param getClickPositions.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
515
|
+
* @param getClickPositions.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
516
516
|
* @param getClickPositions.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
517
517
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
518
518
|
*/
|
|
@@ -550,9 +550,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
550
550
|
* - analytics.
|
|
551
551
|
*
|
|
552
552
|
* @param getClickThroughRate - The getClickThroughRate object.
|
|
553
|
-
* @param getClickThroughRate.index - Index name
|
|
554
|
-
* @param getClickThroughRate.startDate - Start date (
|
|
555
|
-
* @param getClickThroughRate.endDate - End date (
|
|
553
|
+
* @param getClickThroughRate.index - Index name.
|
|
554
|
+
* @param getClickThroughRate.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
555
|
+
* @param getClickThroughRate.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
556
556
|
* @param getClickThroughRate.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
557
557
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
558
558
|
*/
|
|
@@ -590,9 +590,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
590
590
|
* - analytics.
|
|
591
591
|
*
|
|
592
592
|
* @param getConversationRate - The getConversationRate object.
|
|
593
|
-
* @param getConversationRate.index - Index name
|
|
594
|
-
* @param getConversationRate.startDate - Start date (
|
|
595
|
-
* @param getConversationRate.endDate - End date (
|
|
593
|
+
* @param getConversationRate.index - Index name.
|
|
594
|
+
* @param getConversationRate.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
595
|
+
* @param getConversationRate.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
596
596
|
* @param getConversationRate.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
597
597
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
598
598
|
*/
|
|
@@ -630,9 +630,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
630
630
|
* - analytics.
|
|
631
631
|
*
|
|
632
632
|
* @param getNoClickRate - The getNoClickRate object.
|
|
633
|
-
* @param getNoClickRate.index - Index name
|
|
634
|
-
* @param getNoClickRate.startDate - Start date (
|
|
635
|
-
* @param getNoClickRate.endDate - End date (
|
|
633
|
+
* @param getNoClickRate.index - Index name.
|
|
634
|
+
* @param getNoClickRate.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
635
|
+
* @param getNoClickRate.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
636
636
|
* @param getNoClickRate.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
637
637
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
638
638
|
*/
|
|
@@ -670,9 +670,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
670
670
|
* - analytics.
|
|
671
671
|
*
|
|
672
672
|
* @param getNoResultsRate - The getNoResultsRate object.
|
|
673
|
-
* @param getNoResultsRate.index - Index name
|
|
674
|
-
* @param getNoResultsRate.startDate - Start date (
|
|
675
|
-
* @param getNoResultsRate.endDate - End date (
|
|
673
|
+
* @param getNoResultsRate.index - Index name.
|
|
674
|
+
* @param getNoResultsRate.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
675
|
+
* @param getNoResultsRate.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
676
676
|
* @param getNoResultsRate.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
677
677
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
678
678
|
*/
|
|
@@ -710,9 +710,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
710
710
|
* - analytics.
|
|
711
711
|
*
|
|
712
712
|
* @param getSearchesCount - The getSearchesCount object.
|
|
713
|
-
* @param getSearchesCount.index - Index name
|
|
714
|
-
* @param getSearchesCount.startDate - Start date (
|
|
715
|
-
* @param getSearchesCount.endDate - End date (
|
|
713
|
+
* @param getSearchesCount.index - Index name.
|
|
714
|
+
* @param getSearchesCount.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
715
|
+
* @param getSearchesCount.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
716
716
|
* @param getSearchesCount.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
717
717
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
718
718
|
*/
|
|
@@ -750,11 +750,11 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
750
750
|
* - analytics.
|
|
751
751
|
*
|
|
752
752
|
* @param getSearchesNoClicks - The getSearchesNoClicks object.
|
|
753
|
-
* @param getSearchesNoClicks.index - Index name
|
|
754
|
-
* @param getSearchesNoClicks.startDate - Start date (
|
|
755
|
-
* @param getSearchesNoClicks.endDate - End date (
|
|
756
|
-
* @param getSearchesNoClicks.limit - Number of
|
|
757
|
-
* @param getSearchesNoClicks.offset - Position of the
|
|
753
|
+
* @param getSearchesNoClicks.index - Index name.
|
|
754
|
+
* @param getSearchesNoClicks.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
755
|
+
* @param getSearchesNoClicks.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
756
|
+
* @param getSearchesNoClicks.limit - Number of items to return.
|
|
757
|
+
* @param getSearchesNoClicks.offset - Position of the first item to return.
|
|
758
758
|
* @param getSearchesNoClicks.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
759
759
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
760
760
|
*/
|
|
@@ -798,11 +798,11 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
798
798
|
* - analytics.
|
|
799
799
|
*
|
|
800
800
|
* @param getSearchesNoResults - The getSearchesNoResults object.
|
|
801
|
-
* @param getSearchesNoResults.index - Index name
|
|
802
|
-
* @param getSearchesNoResults.startDate - Start date (
|
|
803
|
-
* @param getSearchesNoResults.endDate - End date (
|
|
804
|
-
* @param getSearchesNoResults.limit - Number of
|
|
805
|
-
* @param getSearchesNoResults.offset - Position of the
|
|
801
|
+
* @param getSearchesNoResults.index - Index name.
|
|
802
|
+
* @param getSearchesNoResults.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
803
|
+
* @param getSearchesNoResults.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
804
|
+
* @param getSearchesNoResults.limit - Number of items to return.
|
|
805
|
+
* @param getSearchesNoResults.offset - Position of the first item to return.
|
|
806
806
|
* @param getSearchesNoResults.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
807
807
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
808
808
|
*/
|
|
@@ -846,7 +846,7 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
846
846
|
* - analytics.
|
|
847
847
|
*
|
|
848
848
|
* @param getStatus - The getStatus object.
|
|
849
|
-
* @param getStatus.index - Index name
|
|
849
|
+
* @param getStatus.index - Index name.
|
|
850
850
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
851
851
|
*/
|
|
852
852
|
getStatus({ index }, requestOptions) {
|
|
@@ -874,11 +874,11 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
874
874
|
* - analytics.
|
|
875
875
|
*
|
|
876
876
|
* @param getTopCountries - The getTopCountries object.
|
|
877
|
-
* @param getTopCountries.index - Index name
|
|
878
|
-
* @param getTopCountries.startDate - Start date (
|
|
879
|
-
* @param getTopCountries.endDate - End date (
|
|
880
|
-
* @param getTopCountries.limit - Number of
|
|
881
|
-
* @param getTopCountries.offset - Position of the
|
|
877
|
+
* @param getTopCountries.index - Index name.
|
|
878
|
+
* @param getTopCountries.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
879
|
+
* @param getTopCountries.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
880
|
+
* @param getTopCountries.limit - Number of items to return.
|
|
881
|
+
* @param getTopCountries.offset - Position of the first item to return.
|
|
882
882
|
* @param getTopCountries.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
883
883
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
884
884
|
*/
|
|
@@ -922,12 +922,12 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
922
922
|
* - analytics.
|
|
923
923
|
*
|
|
924
924
|
* @param getTopFilterAttributes - The getTopFilterAttributes object.
|
|
925
|
-
* @param getTopFilterAttributes.index - Index name
|
|
925
|
+
* @param getTopFilterAttributes.index - Index name.
|
|
926
926
|
* @param getTopFilterAttributes.search - User query.
|
|
927
|
-
* @param getTopFilterAttributes.startDate - Start date (
|
|
928
|
-
* @param getTopFilterAttributes.endDate - End date (
|
|
929
|
-
* @param getTopFilterAttributes.limit - Number of
|
|
930
|
-
* @param getTopFilterAttributes.offset - Position of the
|
|
927
|
+
* @param getTopFilterAttributes.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
928
|
+
* @param getTopFilterAttributes.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
929
|
+
* @param getTopFilterAttributes.limit - Number of items to return.
|
|
930
|
+
* @param getTopFilterAttributes.offset - Position of the first item to return.
|
|
931
931
|
* @param getTopFilterAttributes.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
932
932
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
933
933
|
*/
|
|
@@ -975,12 +975,12 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
975
975
|
*
|
|
976
976
|
* @param getTopFilterForAttribute - The getTopFilterForAttribute object.
|
|
977
977
|
* @param getTopFilterForAttribute.attribute - Attribute name.
|
|
978
|
-
* @param getTopFilterForAttribute.index - Index name
|
|
978
|
+
* @param getTopFilterForAttribute.index - Index name.
|
|
979
979
|
* @param getTopFilterForAttribute.search - User query.
|
|
980
|
-
* @param getTopFilterForAttribute.startDate - Start date (
|
|
981
|
-
* @param getTopFilterForAttribute.endDate - End date (
|
|
982
|
-
* @param getTopFilterForAttribute.limit - Number of
|
|
983
|
-
* @param getTopFilterForAttribute.offset - Position of the
|
|
980
|
+
* @param getTopFilterForAttribute.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
981
|
+
* @param getTopFilterForAttribute.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
982
|
+
* @param getTopFilterForAttribute.limit - Number of items to return.
|
|
983
|
+
* @param getTopFilterForAttribute.offset - Position of the first item to return.
|
|
984
984
|
* @param getTopFilterForAttribute.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
985
985
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
986
986
|
*/
|
|
@@ -1030,12 +1030,12 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1030
1030
|
* - analytics.
|
|
1031
1031
|
*
|
|
1032
1032
|
* @param getTopFiltersNoResults - The getTopFiltersNoResults object.
|
|
1033
|
-
* @param getTopFiltersNoResults.index - Index name
|
|
1033
|
+
* @param getTopFiltersNoResults.index - Index name.
|
|
1034
1034
|
* @param getTopFiltersNoResults.search - User query.
|
|
1035
|
-
* @param getTopFiltersNoResults.startDate - Start date (
|
|
1036
|
-
* @param getTopFiltersNoResults.endDate - End date (
|
|
1037
|
-
* @param getTopFiltersNoResults.limit - Number of
|
|
1038
|
-
* @param getTopFiltersNoResults.offset - Position of the
|
|
1035
|
+
* @param getTopFiltersNoResults.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
1036
|
+
* @param getTopFiltersNoResults.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
1037
|
+
* @param getTopFiltersNoResults.limit - Number of items to return.
|
|
1038
|
+
* @param getTopFiltersNoResults.offset - Position of the first item to return.
|
|
1039
1039
|
* @param getTopFiltersNoResults.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
1040
1040
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1041
1041
|
*/
|
|
@@ -1082,13 +1082,13 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1082
1082
|
* - analytics.
|
|
1083
1083
|
*
|
|
1084
1084
|
* @param getTopHits - The getTopHits object.
|
|
1085
|
-
* @param getTopHits.index - Index name
|
|
1085
|
+
* @param getTopHits.index - Index name.
|
|
1086
1086
|
* @param getTopHits.search - User query.
|
|
1087
1087
|
* @param getTopHits.clickAnalytics - Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search.
|
|
1088
|
-
* @param getTopHits.startDate - Start date (
|
|
1089
|
-
* @param getTopHits.endDate - End date (
|
|
1090
|
-
* @param getTopHits.limit - Number of
|
|
1091
|
-
* @param getTopHits.offset - Position of the
|
|
1088
|
+
* @param getTopHits.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
1089
|
+
* @param getTopHits.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
1090
|
+
* @param getTopHits.limit - Number of items to return.
|
|
1091
|
+
* @param getTopHits.offset - Position of the first item to return.
|
|
1092
1092
|
* @param getTopHits.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
1093
1093
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1094
1094
|
*/
|
|
@@ -1138,14 +1138,14 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1138
1138
|
* - analytics.
|
|
1139
1139
|
*
|
|
1140
1140
|
* @param getTopSearches - The getTopSearches object.
|
|
1141
|
-
* @param getTopSearches.index - Index name
|
|
1141
|
+
* @param getTopSearches.index - Index name.
|
|
1142
1142
|
* @param getTopSearches.clickAnalytics - Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search.
|
|
1143
|
-
* @param getTopSearches.startDate - Start date (
|
|
1144
|
-
* @param getTopSearches.endDate - End date (
|
|
1143
|
+
* @param getTopSearches.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
1144
|
+
* @param getTopSearches.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
1145
1145
|
* @param getTopSearches.orderBy - Reorder the results.
|
|
1146
1146
|
* @param getTopSearches.direction - Sorting direction of the results: ascending or descending.
|
|
1147
|
-
* @param getTopSearches.limit - Number of
|
|
1148
|
-
* @param getTopSearches.offset - Position of the
|
|
1147
|
+
* @param getTopSearches.limit - Number of items to return.
|
|
1148
|
+
* @param getTopSearches.offset - Position of the first item to return.
|
|
1149
1149
|
* @param getTopSearches.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
1150
1150
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1151
1151
|
*/
|
|
@@ -1198,9 +1198,9 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1198
1198
|
* - analytics.
|
|
1199
1199
|
*
|
|
1200
1200
|
* @param getUsersCount - The getUsersCount object.
|
|
1201
|
-
* @param getUsersCount.index - Index name
|
|
1202
|
-
* @param getUsersCount.startDate - Start date (
|
|
1203
|
-
* @param getUsersCount.endDate - End date (
|
|
1201
|
+
* @param getUsersCount.index - Index name.
|
|
1202
|
+
* @param getUsersCount.startDate - Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
1203
|
+
* @param getUsersCount.endDate - End date (`YYYY-MM-DD`) of the period to analyze.
|
|
1204
1204
|
* @param getUsersCount.tags - Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
1205
1205
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1206
1206
|
*/
|
|
@@ -1235,7 +1235,7 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1235
1235
|
}
|
|
1236
1236
|
|
|
1237
1237
|
// 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.
|
|
1238
|
-
const apiClientVersion$2 = '5.0.0-alpha.
|
|
1238
|
+
const apiClientVersion$2 = '5.0.0-alpha.107';
|
|
1239
1239
|
const REGIONS = ['eu', 'us'];
|
|
1240
1240
|
function getDefaultHosts$1(region) {
|
|
1241
1241
|
const url = 'personalization.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -1496,7 +1496,7 @@ function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
1496
1496
|
}
|
|
1497
1497
|
|
|
1498
1498
|
// 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.
|
|
1499
|
-
const apiClientVersion$1 = '5.0.0-alpha.
|
|
1499
|
+
const apiClientVersion$1 = '5.0.0-alpha.107';
|
|
1500
1500
|
function getDefaultHosts(appId) {
|
|
1501
1501
|
return [
|
|
1502
1502
|
{
|
|
@@ -1834,7 +1834,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1834
1834
|
return { copyOperationResponse, batchResponses, moveOperationResponse };
|
|
1835
1835
|
},
|
|
1836
1836
|
/**
|
|
1837
|
-
*
|
|
1837
|
+
* Creates a new API key with specific permissions and restrictions.
|
|
1838
1838
|
*
|
|
1839
1839
|
* Required API Key ACLs:
|
|
1840
1840
|
* - admin.
|
|
@@ -1862,15 +1862,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1862
1862
|
return transporter.request(request, requestOptions);
|
|
1863
1863
|
},
|
|
1864
1864
|
/**
|
|
1865
|
-
* If
|
|
1865
|
+
* 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).
|
|
1866
1866
|
*
|
|
1867
1867
|
* Required API Key ACLs:
|
|
1868
1868
|
* - addObject.
|
|
1869
1869
|
*
|
|
1870
1870
|
* @param addOrUpdateObject - The addOrUpdateObject object.
|
|
1871
|
-
* @param addOrUpdateObject.indexName -
|
|
1872
|
-
* @param addOrUpdateObject.objectID - Unique record
|
|
1873
|
-
* @param addOrUpdateObject.body -
|
|
1871
|
+
* @param addOrUpdateObject.indexName - Name of the index on which to perform the operation.
|
|
1872
|
+
* @param addOrUpdateObject.objectID - Unique record identifier.
|
|
1873
|
+
* @param addOrUpdateObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
1874
1874
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1875
1875
|
*/
|
|
1876
1876
|
addOrUpdateObject({ indexName, objectID, body }, requestOptions) {
|
|
@@ -1898,7 +1898,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1898
1898
|
return transporter.request(request, requestOptions);
|
|
1899
1899
|
},
|
|
1900
1900
|
/**
|
|
1901
|
-
*
|
|
1901
|
+
* Adds a source to the list of allowed sources.
|
|
1902
1902
|
*
|
|
1903
1903
|
* Required API Key ACLs:
|
|
1904
1904
|
* - admin.
|
|
@@ -1926,13 +1926,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1926
1926
|
return transporter.request(request, requestOptions);
|
|
1927
1927
|
},
|
|
1928
1928
|
/**
|
|
1929
|
-
*
|
|
1929
|
+
* 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.
|
|
1930
1930
|
*
|
|
1931
1931
|
* Required API Key ACLs:
|
|
1932
1932
|
* - admin.
|
|
1933
1933
|
*
|
|
1934
1934
|
* @param assignUserId - The assignUserId object.
|
|
1935
|
-
* @param assignUserId.xAlgoliaUserID -
|
|
1935
|
+
* @param assignUserId.xAlgoliaUserID - User ID to assign.
|
|
1936
1936
|
* @param assignUserId.assignUserIdParams - The assignUserIdParams object.
|
|
1937
1937
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1938
1938
|
*/
|
|
@@ -1962,10 +1962,10 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1962
1962
|
return transporter.request(request, requestOptions);
|
|
1963
1963
|
},
|
|
1964
1964
|
/**
|
|
1965
|
-
*
|
|
1965
|
+
* 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.
|
|
1966
1966
|
*
|
|
1967
1967
|
* @param batch - The batch object.
|
|
1968
|
-
* @param batch.indexName -
|
|
1968
|
+
* @param batch.indexName - Name of the index on which to perform the operation.
|
|
1969
1969
|
* @param batch.batchWriteParams - The batchWriteParams object.
|
|
1970
1970
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1971
1971
|
*/
|
|
@@ -1992,13 +1992,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1992
1992
|
return transporter.request(request, requestOptions);
|
|
1993
1993
|
},
|
|
1994
1994
|
/**
|
|
1995
|
-
*
|
|
1995
|
+
* Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**.
|
|
1996
1996
|
*
|
|
1997
1997
|
* Required API Key ACLs:
|
|
1998
1998
|
* - admin.
|
|
1999
1999
|
*
|
|
2000
2000
|
* @param batchAssignUserIds - The batchAssignUserIds object.
|
|
2001
|
-
* @param batchAssignUserIds.xAlgoliaUserID -
|
|
2001
|
+
* @param batchAssignUserIds.xAlgoliaUserID - User ID to assign.
|
|
2002
2002
|
* @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
|
|
2003
2003
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2004
2004
|
*/
|
|
@@ -2031,13 +2031,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2031
2031
|
return transporter.request(request, requestOptions);
|
|
2032
2032
|
},
|
|
2033
2033
|
/**
|
|
2034
|
-
*
|
|
2034
|
+
* Adds or deletes multiple entries from your plurals, segmentation, or stop word dictionaries.
|
|
2035
2035
|
*
|
|
2036
2036
|
* Required API Key ACLs:
|
|
2037
2037
|
* - editSettings.
|
|
2038
2038
|
*
|
|
2039
2039
|
* @param batchDictionaryEntries - The batchDictionaryEntries object.
|
|
2040
|
-
* @param batchDictionaryEntries.dictionaryName - Dictionary to search
|
|
2040
|
+
* @param batchDictionaryEntries.dictionaryName - Dictionary type in which to search.
|
|
2041
2041
|
* @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
|
|
2042
2042
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2043
2043
|
*/
|
|
@@ -2064,13 +2064,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2064
2064
|
return transporter.request(request, requestOptions);
|
|
2065
2065
|
},
|
|
2066
2066
|
/**
|
|
2067
|
-
*
|
|
2067
|
+
* 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.
|
|
2068
2068
|
*
|
|
2069
2069
|
* Required API Key ACLs:
|
|
2070
2070
|
* - browse.
|
|
2071
2071
|
*
|
|
2072
2072
|
* @param browse - The browse object.
|
|
2073
|
-
* @param browse.indexName -
|
|
2073
|
+
* @param browse.indexName - Name of the index on which to perform the operation.
|
|
2074
2074
|
* @param browse.browseParams - The browseParams object.
|
|
2075
2075
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2076
2076
|
*/
|
|
@@ -2091,13 +2091,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2091
2091
|
return transporter.request(request, requestOptions);
|
|
2092
2092
|
},
|
|
2093
2093
|
/**
|
|
2094
|
-
*
|
|
2094
|
+
* Deletes only the records from an index while keeping settings, synonyms, and rules.
|
|
2095
2095
|
*
|
|
2096
2096
|
* Required API Key ACLs:
|
|
2097
2097
|
* - deleteIndex.
|
|
2098
2098
|
*
|
|
2099
2099
|
* @param clearObjects - The clearObjects object.
|
|
2100
|
-
* @param clearObjects.indexName -
|
|
2100
|
+
* @param clearObjects.indexName - Name of the index on which to perform the operation.
|
|
2101
2101
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2102
2102
|
*/
|
|
2103
2103
|
clearObjects({ indexName }, requestOptions) {
|
|
@@ -2116,14 +2116,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2116
2116
|
return transporter.request(request, requestOptions);
|
|
2117
2117
|
},
|
|
2118
2118
|
/**
|
|
2119
|
-
*
|
|
2119
|
+
* Deletes all rules from the index.
|
|
2120
2120
|
*
|
|
2121
2121
|
* Required API Key ACLs:
|
|
2122
2122
|
* - editSettings.
|
|
2123
2123
|
*
|
|
2124
2124
|
* @param clearRules - The clearRules object.
|
|
2125
|
-
* @param clearRules.indexName -
|
|
2126
|
-
* @param clearRules.forwardToReplicas -
|
|
2125
|
+
* @param clearRules.indexName - Name of the index on which to perform the operation.
|
|
2126
|
+
* @param clearRules.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2127
2127
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2128
2128
|
*/
|
|
2129
2129
|
clearRules({ indexName, forwardToReplicas }, requestOptions) {
|
|
@@ -2145,14 +2145,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2145
2145
|
return transporter.request(request, requestOptions);
|
|
2146
2146
|
},
|
|
2147
2147
|
/**
|
|
2148
|
-
*
|
|
2148
|
+
* Deletes all synonyms from the index.
|
|
2149
2149
|
*
|
|
2150
2150
|
* Required API Key ACLs:
|
|
2151
2151
|
* - editSettings.
|
|
2152
2152
|
*
|
|
2153
2153
|
* @param clearSynonyms - The clearSynonyms object.
|
|
2154
|
-
* @param clearSynonyms.indexName -
|
|
2155
|
-
* @param clearSynonyms.forwardToReplicas -
|
|
2154
|
+
* @param clearSynonyms.indexName - Name of the index on which to perform the operation.
|
|
2155
|
+
* @param clearSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2156
2156
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2157
2157
|
*/
|
|
2158
2158
|
clearSynonyms({ indexName, forwardToReplicas }, requestOptions) {
|
|
@@ -2270,7 +2270,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2270
2270
|
return transporter.request(request, requestOptions);
|
|
2271
2271
|
},
|
|
2272
2272
|
/**
|
|
2273
|
-
*
|
|
2273
|
+
* Deletes the API key.
|
|
2274
2274
|
*
|
|
2275
2275
|
* Required API Key ACLs:
|
|
2276
2276
|
* - admin.
|
|
@@ -2295,13 +2295,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2295
2295
|
return transporter.request(request, requestOptions);
|
|
2296
2296
|
},
|
|
2297
2297
|
/**
|
|
2298
|
-
* This operation doesn\'t
|
|
2298
|
+
* 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).
|
|
2299
2299
|
*
|
|
2300
2300
|
* Required API Key ACLs:
|
|
2301
2301
|
* - deleteIndex.
|
|
2302
2302
|
*
|
|
2303
2303
|
* @param deleteBy - The deleteBy object.
|
|
2304
|
-
* @param deleteBy.indexName -
|
|
2304
|
+
* @param deleteBy.indexName - Name of the index on which to perform the operation.
|
|
2305
2305
|
* @param deleteBy.deleteByParams - The deleteByParams object.
|
|
2306
2306
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2307
2307
|
*/
|
|
@@ -2325,13 +2325,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2325
2325
|
return transporter.request(request, requestOptions);
|
|
2326
2326
|
},
|
|
2327
2327
|
/**
|
|
2328
|
-
*
|
|
2328
|
+
* 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/).
|
|
2329
2329
|
*
|
|
2330
2330
|
* Required API Key ACLs:
|
|
2331
2331
|
* - deleteIndex.
|
|
2332
2332
|
*
|
|
2333
2333
|
* @param deleteIndex - The deleteIndex object.
|
|
2334
|
-
* @param deleteIndex.indexName -
|
|
2334
|
+
* @param deleteIndex.indexName - Name of the index on which to perform the operation.
|
|
2335
2335
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2336
2336
|
*/
|
|
2337
2337
|
deleteIndex({ indexName }, requestOptions) {
|
|
@@ -2350,14 +2350,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2350
2350
|
return transporter.request(request, requestOptions);
|
|
2351
2351
|
},
|
|
2352
2352
|
/**
|
|
2353
|
-
* To delete
|
|
2353
|
+
* 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).
|
|
2354
2354
|
*
|
|
2355
2355
|
* Required API Key ACLs:
|
|
2356
2356
|
* - deleteObject.
|
|
2357
2357
|
*
|
|
2358
2358
|
* @param deleteObject - The deleteObject object.
|
|
2359
|
-
* @param deleteObject.indexName -
|
|
2360
|
-
* @param deleteObject.objectID - Unique record
|
|
2359
|
+
* @param deleteObject.indexName - Name of the index on which to perform the operation.
|
|
2360
|
+
* @param deleteObject.objectID - Unique record identifier.
|
|
2361
2361
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2362
2362
|
*/
|
|
2363
2363
|
deleteObject({ indexName, objectID }, requestOptions) {
|
|
@@ -2381,15 +2381,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2381
2381
|
return transporter.request(request, requestOptions);
|
|
2382
2382
|
},
|
|
2383
2383
|
/**
|
|
2384
|
-
*
|
|
2384
|
+
* Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
2385
2385
|
*
|
|
2386
2386
|
* Required API Key ACLs:
|
|
2387
2387
|
* - editSettings.
|
|
2388
2388
|
*
|
|
2389
2389
|
* @param deleteRule - The deleteRule object.
|
|
2390
|
-
* @param deleteRule.indexName -
|
|
2390
|
+
* @param deleteRule.indexName - Name of the index on which to perform the operation.
|
|
2391
2391
|
* @param deleteRule.objectID - Unique identifier of a rule object.
|
|
2392
|
-
* @param deleteRule.forwardToReplicas -
|
|
2392
|
+
* @param deleteRule.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2393
2393
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2394
2394
|
*/
|
|
2395
2395
|
deleteRule({ indexName, objectID, forwardToReplicas }, requestOptions) {
|
|
@@ -2416,7 +2416,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2416
2416
|
return transporter.request(request, requestOptions);
|
|
2417
2417
|
},
|
|
2418
2418
|
/**
|
|
2419
|
-
*
|
|
2419
|
+
* Deletes a source from the list of allowed sources.
|
|
2420
2420
|
*
|
|
2421
2421
|
* Required API Key ACLs:
|
|
2422
2422
|
* - admin.
|
|
@@ -2441,15 +2441,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2441
2441
|
return transporter.request(request, requestOptions);
|
|
2442
2442
|
},
|
|
2443
2443
|
/**
|
|
2444
|
-
*
|
|
2444
|
+
* Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
|
|
2445
2445
|
*
|
|
2446
2446
|
* Required API Key ACLs:
|
|
2447
2447
|
* - editSettings.
|
|
2448
2448
|
*
|
|
2449
2449
|
* @param deleteSynonym - The deleteSynonym object.
|
|
2450
|
-
* @param deleteSynonym.indexName -
|
|
2450
|
+
* @param deleteSynonym.indexName - Name of the index on which to perform the operation.
|
|
2451
2451
|
* @param deleteSynonym.objectID - Unique identifier of a synonym object.
|
|
2452
|
-
* @param deleteSynonym.forwardToReplicas -
|
|
2452
|
+
* @param deleteSynonym.forwardToReplicas - Whether changes are applied to replica indices.
|
|
2453
2453
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2454
2454
|
*/
|
|
2455
2455
|
deleteSynonym({ indexName, objectID, forwardToReplicas }, requestOptions) {
|
|
@@ -2476,7 +2476,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2476
2476
|
return transporter.request(request, requestOptions);
|
|
2477
2477
|
},
|
|
2478
2478
|
/**
|
|
2479
|
-
*
|
|
2479
|
+
* 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.
|
|
2480
2480
|
*
|
|
2481
2481
|
* @param getApiKey - The getApiKey object.
|
|
2482
2482
|
* @param getApiKey.key - API key.
|
|
@@ -2498,7 +2498,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2498
2498
|
return transporter.request(request, requestOptions);
|
|
2499
2499
|
},
|
|
2500
2500
|
/**
|
|
2501
|
-
* Lists
|
|
2501
|
+
* Lists supported languages with their supported dictionary types and number of custom entries.
|
|
2502
2502
|
*
|
|
2503
2503
|
* Required API Key ACLs:
|
|
2504
2504
|
* - settings.
|
|
@@ -2518,7 +2518,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2518
2518
|
return transporter.request(request, requestOptions);
|
|
2519
2519
|
},
|
|
2520
2520
|
/**
|
|
2521
|
-
*
|
|
2521
|
+
* Retrieves the languages for which standard dictionary entries are turned off.
|
|
2522
2522
|
*
|
|
2523
2523
|
* Required API Key ACLs:
|
|
2524
2524
|
* - settings.
|
|
@@ -2538,16 +2538,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2538
2538
|
return transporter.request(request, requestOptions);
|
|
2539
2539
|
},
|
|
2540
2540
|
/**
|
|
2541
|
-
* 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.
|
|
2541
|
+
* 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.
|
|
2542
2542
|
*
|
|
2543
2543
|
* Required API Key ACLs:
|
|
2544
2544
|
* - logs.
|
|
2545
2545
|
*
|
|
2546
2546
|
* @param getLogs - The getLogs object.
|
|
2547
|
-
* @param getLogs.offset - First log entry to retrieve.
|
|
2547
|
+
* @param getLogs.offset - First log entry to retrieve. The most recent entries are listed first.
|
|
2548
2548
|
* @param getLogs.length - Maximum number of entries to retrieve.
|
|
2549
|
-
* @param getLogs.indexName - Index for which log entries
|
|
2550
|
-
* @param getLogs.type - Type of log entries to retrieve.
|
|
2549
|
+
* @param getLogs.indexName - Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
|
|
2550
|
+
* @param getLogs.type - Type of log entries to retrieve. By default, all log entries are retrieved.
|
|
2551
2551
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2552
2552
|
*/
|
|
2553
2553
|
getLogs({ offset, length, indexName, type } = {}, requestOptions = undefined) {
|
|
@@ -2575,15 +2575,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2575
2575
|
return transporter.request(request, requestOptions);
|
|
2576
2576
|
},
|
|
2577
2577
|
/**
|
|
2578
|
-
* To
|
|
2578
|
+
* Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
|
|
2579
2579
|
*
|
|
2580
2580
|
* Required API Key ACLs:
|
|
2581
2581
|
* - search.
|
|
2582
2582
|
*
|
|
2583
2583
|
* @param getObject - The getObject object.
|
|
2584
|
-
* @param getObject.indexName -
|
|
2585
|
-
* @param getObject.objectID - Unique record
|
|
2586
|
-
* @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.
|
|
2584
|
+
* @param getObject.indexName - Name of the index on which to perform the operation.
|
|
2585
|
+
* @param getObject.objectID - Unique record identifier.
|
|
2586
|
+
* @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.
|
|
2587
2587
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2588
2588
|
*/
|
|
2589
2589
|
getObject({ indexName, objectID, attributesToRetrieve }, requestOptions) {
|
|
@@ -2610,7 +2610,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2610
2610
|
return transporter.request(request, requestOptions);
|
|
2611
2611
|
},
|
|
2612
2612
|
/**
|
|
2613
|
-
*
|
|
2613
|
+
* Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
|
|
2614
2614
|
*
|
|
2615
2615
|
* Required API Key ACLs:
|
|
2616
2616
|
* - search.
|
|
@@ -2640,13 +2640,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2640
2640
|
return transporter.request(request, requestOptions);
|
|
2641
2641
|
},
|
|
2642
2642
|
/**
|
|
2643
|
-
*
|
|
2643
|
+
* Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
2644
2644
|
*
|
|
2645
2645
|
* Required API Key ACLs:
|
|
2646
2646
|
* - settings.
|
|
2647
2647
|
*
|
|
2648
2648
|
* @param getRule - The getRule object.
|
|
2649
|
-
* @param getRule.indexName -
|
|
2649
|
+
* @param getRule.indexName - Name of the index on which to perform the operation.
|
|
2650
2650
|
* @param getRule.objectID - Unique identifier of a rule object.
|
|
2651
2651
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2652
2652
|
*/
|
|
@@ -2671,13 +2671,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2671
2671
|
return transporter.request(request, requestOptions);
|
|
2672
2672
|
},
|
|
2673
2673
|
/**
|
|
2674
|
-
*
|
|
2674
|
+
* Retrieves an object with non-null index settings.
|
|
2675
2675
|
*
|
|
2676
2676
|
* Required API Key ACLs:
|
|
2677
2677
|
* - search.
|
|
2678
2678
|
*
|
|
2679
2679
|
* @param getSettings - The getSettings object.
|
|
2680
|
-
* @param getSettings.indexName -
|
|
2680
|
+
* @param getSettings.indexName - Name of the index on which to perform the operation.
|
|
2681
2681
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2682
2682
|
*/
|
|
2683
2683
|
getSettings({ indexName }, requestOptions) {
|
|
@@ -2696,7 +2696,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2696
2696
|
return transporter.request(request, requestOptions);
|
|
2697
2697
|
},
|
|
2698
2698
|
/**
|
|
2699
|
-
*
|
|
2699
|
+
* Retrieves all allowed IP addresses with access to your application.
|
|
2700
2700
|
*
|
|
2701
2701
|
* Required API Key ACLs:
|
|
2702
2702
|
* - admin.
|
|
@@ -2716,13 +2716,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2716
2716
|
return transporter.request(request, requestOptions);
|
|
2717
2717
|
},
|
|
2718
2718
|
/**
|
|
2719
|
-
*
|
|
2719
|
+
* Retrieves a syonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
|
|
2720
2720
|
*
|
|
2721
2721
|
* Required API Key ACLs:
|
|
2722
2722
|
* - settings.
|
|
2723
2723
|
*
|
|
2724
2724
|
* @param getSynonym - The getSynonym object.
|
|
2725
|
-
* @param getSynonym.indexName -
|
|
2725
|
+
* @param getSynonym.indexName - Name of the index on which to perform the operation.
|
|
2726
2726
|
* @param getSynonym.objectID - Unique identifier of a synonym object.
|
|
2727
2727
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2728
2728
|
*/
|
|
@@ -2747,13 +2747,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2747
2747
|
return transporter.request(request, requestOptions);
|
|
2748
2748
|
},
|
|
2749
2749
|
/**
|
|
2750
|
-
*
|
|
2750
|
+
* 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.
|
|
2751
2751
|
*
|
|
2752
2752
|
* Required API Key ACLs:
|
|
2753
2753
|
* - addObject.
|
|
2754
2754
|
*
|
|
2755
2755
|
* @param getTask - The getTask object.
|
|
2756
|
-
* @param getTask.indexName -
|
|
2756
|
+
* @param getTask.indexName - Name of the index on which to perform the operation.
|
|
2757
2757
|
* @param getTask.taskID - Unique task identifier.
|
|
2758
2758
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2759
2759
|
*/
|
|
@@ -2778,7 +2778,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2778
2778
|
return transporter.request(request, requestOptions);
|
|
2779
2779
|
},
|
|
2780
2780
|
/**
|
|
2781
|
-
* Get the IDs of the 10 users with the highest number of records per cluster.
|
|
2781
|
+
* 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.
|
|
2782
2782
|
*
|
|
2783
2783
|
* Required API Key ACLs:
|
|
2784
2784
|
* - admin.
|
|
@@ -2798,13 +2798,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2798
2798
|
return transporter.request(request, requestOptions);
|
|
2799
2799
|
},
|
|
2800
2800
|
/**
|
|
2801
|
-
* Returns the
|
|
2801
|
+
* 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.
|
|
2802
2802
|
*
|
|
2803
2803
|
* Required API Key ACLs:
|
|
2804
2804
|
* - admin.
|
|
2805
2805
|
*
|
|
2806
2806
|
* @param getUserId - The getUserId object.
|
|
2807
|
-
* @param getUserId.userID -
|
|
2807
|
+
* @param getUserId.userID - User ID to assign.
|
|
2808
2808
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2809
2809
|
*/
|
|
2810
2810
|
getUserId({ userID }, requestOptions) {
|
|
@@ -2829,7 +2829,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2829
2829
|
* - admin.
|
|
2830
2830
|
*
|
|
2831
2831
|
* @param hasPendingMappings - The hasPendingMappings object.
|
|
2832
|
-
* @param hasPendingMappings.getClusters -
|
|
2832
|
+
* @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
|
|
2833
2833
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2834
2834
|
*/
|
|
2835
2835
|
hasPendingMappings({ getClusters } = {}, requestOptions = undefined) {
|
|
@@ -2848,7 +2848,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2848
2848
|
return transporter.request(request, requestOptions);
|
|
2849
2849
|
},
|
|
2850
2850
|
/**
|
|
2851
|
-
*
|
|
2851
|
+
* Lists all API keys associated with your Algolia application, including their permissions and restrictions.
|
|
2852
2852
|
*
|
|
2853
2853
|
* Required API Key ACLs:
|
|
2854
2854
|
* - admin.
|
|
@@ -2868,7 +2868,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2868
2868
|
return transporter.request(request, requestOptions);
|
|
2869
2869
|
},
|
|
2870
2870
|
/**
|
|
2871
|
-
*
|
|
2871
|
+
* Lists the available clusters in a multi-cluster setup.
|
|
2872
2872
|
*
|
|
2873
2873
|
* Required API Key ACLs:
|
|
2874
2874
|
* - admin.
|
|
@@ -2888,14 +2888,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2888
2888
|
return transporter.request(request, requestOptions);
|
|
2889
2889
|
},
|
|
2890
2890
|
/**
|
|
2891
|
-
*
|
|
2891
|
+
* Lists all indices in the current Algolia application. The request follows any index restrictions of the API key you use to make the request.
|
|
2892
2892
|
*
|
|
2893
2893
|
* Required API Key ACLs:
|
|
2894
2894
|
* - listIndexes.
|
|
2895
2895
|
*
|
|
2896
2896
|
* @param listIndices - The listIndices object.
|
|
2897
|
-
* @param listIndices.page -
|
|
2898
|
-
* @param listIndices.hitsPerPage -
|
|
2897
|
+
* @param listIndices.page - Requested page of the API response. If `null`, the API response is not paginated.
|
|
2898
|
+
* @param listIndices.hitsPerPage - Number of hits per page.
|
|
2899
2899
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2900
2900
|
*/
|
|
2901
2901
|
listIndices({ page, hitsPerPage } = {}, requestOptions = undefined) {
|
|
@@ -2917,14 +2917,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2917
2917
|
return transporter.request(request, requestOptions);
|
|
2918
2918
|
},
|
|
2919
2919
|
/**
|
|
2920
|
-
*
|
|
2920
|
+
* 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.
|
|
2921
2921
|
*
|
|
2922
2922
|
* Required API Key ACLs:
|
|
2923
2923
|
* - admin.
|
|
2924
2924
|
*
|
|
2925
2925
|
* @param listUserIds - The listUserIds object.
|
|
2926
|
-
* @param listUserIds.page -
|
|
2927
|
-
* @param listUserIds.hitsPerPage -
|
|
2926
|
+
* @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
|
|
2927
|
+
* @param listUserIds.hitsPerPage - Number of hits per page.
|
|
2928
2928
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2929
2929
|
*/
|
|
2930
2930
|
listUserIds({ page, hitsPerPage } = {}, requestOptions = undefined) {
|
|
@@ -2946,7 +2946,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2946
2946
|
return transporter.request(request, requestOptions);
|
|
2947
2947
|
},
|
|
2948
2948
|
/**
|
|
2949
|
-
*
|
|
2949
|
+
* 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.
|
|
2950
2950
|
*
|
|
2951
2951
|
* @param batchParams - The batchParams object.
|
|
2952
2952
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2971,13 +2971,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2971
2971
|
return transporter.request(request, requestOptions);
|
|
2972
2972
|
},
|
|
2973
2973
|
/**
|
|
2974
|
-
*
|
|
2974
|
+
* 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/).
|
|
2975
2975
|
*
|
|
2976
2976
|
* Required API Key ACLs:
|
|
2977
2977
|
* - addObject.
|
|
2978
2978
|
*
|
|
2979
2979
|
* @param operationIndex - The operationIndex object.
|
|
2980
|
-
* @param operationIndex.indexName -
|
|
2980
|
+
* @param operationIndex.indexName - Name of the index on which to perform the operation.
|
|
2981
2981
|
* @param operationIndex.operationIndexParams - The operationIndexParams object.
|
|
2982
2982
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2983
2983
|
*/
|
|
@@ -3007,16 +3007,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3007
3007
|
return transporter.request(request, requestOptions);
|
|
3008
3008
|
},
|
|
3009
3009
|
/**
|
|
3010
|
-
*
|
|
3010
|
+
* 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.
|
|
3011
3011
|
*
|
|
3012
3012
|
* Required API Key ACLs:
|
|
3013
3013
|
* - addObject.
|
|
3014
3014
|
*
|
|
3015
3015
|
* @param partialUpdateObject - The partialUpdateObject object.
|
|
3016
|
-
* @param partialUpdateObject.indexName -
|
|
3017
|
-
* @param partialUpdateObject.objectID - Unique record
|
|
3018
|
-
* @param partialUpdateObject.attributesToUpdate -
|
|
3019
|
-
* @param partialUpdateObject.createIfNotExists -
|
|
3016
|
+
* @param partialUpdateObject.indexName - Name of the index on which to perform the operation.
|
|
3017
|
+
* @param partialUpdateObject.objectID - Unique record identifier.
|
|
3018
|
+
* @param partialUpdateObject.attributesToUpdate - Attributes with their values.
|
|
3019
|
+
* @param partialUpdateObject.createIfNotExists - Whether to create a new record if it doesn\'t exist.
|
|
3020
3020
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3021
3021
|
*/
|
|
3022
3022
|
partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }, requestOptions) {
|
|
@@ -3047,13 +3047,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3047
3047
|
return transporter.request(request, requestOptions);
|
|
3048
3048
|
},
|
|
3049
3049
|
/**
|
|
3050
|
-
*
|
|
3050
|
+
* Deletes a user ID and its associated data from the clusters.
|
|
3051
3051
|
*
|
|
3052
3052
|
* Required API Key ACLs:
|
|
3053
3053
|
* - admin.
|
|
3054
3054
|
*
|
|
3055
3055
|
* @param removeUserId - The removeUserId object.
|
|
3056
|
-
* @param removeUserId.userID -
|
|
3056
|
+
* @param removeUserId.userID - User ID to assign.
|
|
3057
3057
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3058
3058
|
*/
|
|
3059
3059
|
removeUserId({ userID }, requestOptions) {
|
|
@@ -3072,7 +3072,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3072
3072
|
return transporter.request(request, requestOptions);
|
|
3073
3073
|
},
|
|
3074
3074
|
/**
|
|
3075
|
-
*
|
|
3075
|
+
* Replaces the list of allowed sources.
|
|
3076
3076
|
*
|
|
3077
3077
|
* Required API Key ACLs:
|
|
3078
3078
|
* - admin.
|
|
@@ -3098,7 +3098,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3098
3098
|
return transporter.request(request, requestOptions);
|
|
3099
3099
|
},
|
|
3100
3100
|
/**
|
|
3101
|
-
*
|
|
3101
|
+
* 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.
|
|
3102
3102
|
*
|
|
3103
3103
|
* Required API Key ACLs:
|
|
3104
3104
|
* - admin.
|
|
@@ -3123,14 +3123,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3123
3123
|
return transporter.request(request, requestOptions);
|
|
3124
3124
|
},
|
|
3125
3125
|
/**
|
|
3126
|
-
*
|
|
3126
|
+
* 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).
|
|
3127
3127
|
*
|
|
3128
3128
|
* Required API Key ACLs:
|
|
3129
3129
|
* - addObject.
|
|
3130
3130
|
*
|
|
3131
3131
|
* @param saveObject - The saveObject object.
|
|
3132
|
-
* @param saveObject.indexName -
|
|
3133
|
-
* @param saveObject.body - The
|
|
3132
|
+
* @param saveObject.indexName - Name of the index on which to perform the operation.
|
|
3133
|
+
* @param saveObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
3134
3134
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3135
3135
|
*/
|
|
3136
3136
|
saveObject({ indexName, body }, requestOptions) {
|
|
@@ -3153,16 +3153,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3153
3153
|
return transporter.request(request, requestOptions);
|
|
3154
3154
|
},
|
|
3155
3155
|
/**
|
|
3156
|
-
* To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
|
|
3156
|
+
* 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).
|
|
3157
3157
|
*
|
|
3158
3158
|
* Required API Key ACLs:
|
|
3159
3159
|
* - editSettings.
|
|
3160
3160
|
*
|
|
3161
3161
|
* @param saveRule - The saveRule object.
|
|
3162
|
-
* @param saveRule.indexName -
|
|
3162
|
+
* @param saveRule.indexName - Name of the index on which to perform the operation.
|
|
3163
3163
|
* @param saveRule.objectID - Unique identifier of a rule object.
|
|
3164
3164
|
* @param saveRule.rule - The rule object.
|
|
3165
|
-
* @param saveRule.forwardToReplicas -
|
|
3165
|
+
* @param saveRule.forwardToReplicas - Whether changes are applied to replica indices.
|
|
3166
3166
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3167
3167
|
*/
|
|
3168
3168
|
saveRule({ indexName, objectID, rule, forwardToReplicas }, requestOptions) {
|
|
@@ -3196,16 +3196,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3196
3196
|
return transporter.request(request, requestOptions);
|
|
3197
3197
|
},
|
|
3198
3198
|
/**
|
|
3199
|
-
* Create or update multiple rules.
|
|
3199
|
+
* 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.
|
|
3200
3200
|
*
|
|
3201
3201
|
* Required API Key ACLs:
|
|
3202
3202
|
* - editSettings.
|
|
3203
3203
|
*
|
|
3204
3204
|
* @param saveRules - The saveRules object.
|
|
3205
|
-
* @param saveRules.indexName -
|
|
3205
|
+
* @param saveRules.indexName - Name of the index on which to perform the operation.
|
|
3206
3206
|
* @param saveRules.rules - The rules object.
|
|
3207
|
-
* @param saveRules.forwardToReplicas -
|
|
3208
|
-
* @param saveRules.clearExistingRules -
|
|
3207
|
+
* @param saveRules.forwardToReplicas - Whether changes are applied to replica indices.
|
|
3208
|
+
* @param saveRules.clearExistingRules - Whether existing rules should be deleted before adding this batch.
|
|
3209
3209
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3210
3210
|
*/
|
|
3211
3211
|
saveRules({ indexName, rules, forwardToReplicas, clearExistingRules, }, requestOptions) {
|
|
@@ -3234,16 +3234,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3234
3234
|
return transporter.request(request, requestOptions);
|
|
3235
3235
|
},
|
|
3236
3236
|
/**
|
|
3237
|
-
*
|
|
3237
|
+
* 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).
|
|
3238
3238
|
*
|
|
3239
3239
|
* Required API Key ACLs:
|
|
3240
3240
|
* - editSettings.
|
|
3241
3241
|
*
|
|
3242
3242
|
* @param saveSynonym - The saveSynonym object.
|
|
3243
|
-
* @param saveSynonym.indexName -
|
|
3243
|
+
* @param saveSynonym.indexName - Name of the index on which to perform the operation.
|
|
3244
3244
|
* @param saveSynonym.objectID - Unique identifier of a synonym object.
|
|
3245
3245
|
* @param saveSynonym.synonymHit - The synonymHit object.
|
|
3246
|
-
* @param saveSynonym.forwardToReplicas -
|
|
3246
|
+
* @param saveSynonym.forwardToReplicas - Whether changes are applied to replica indices.
|
|
3247
3247
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3248
3248
|
*/
|
|
3249
3249
|
saveSynonym({ indexName, objectID, synonymHit, forwardToReplicas }, requestOptions) {
|
|
@@ -3280,16 +3280,16 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3280
3280
|
return transporter.request(request, requestOptions);
|
|
3281
3281
|
},
|
|
3282
3282
|
/**
|
|
3283
|
-
*
|
|
3283
|
+
* If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced.
|
|
3284
3284
|
*
|
|
3285
3285
|
* Required API Key ACLs:
|
|
3286
3286
|
* - editSettings.
|
|
3287
3287
|
*
|
|
3288
3288
|
* @param saveSynonyms - The saveSynonyms object.
|
|
3289
|
-
* @param saveSynonyms.indexName -
|
|
3289
|
+
* @param saveSynonyms.indexName - Name of the index on which to perform the operation.
|
|
3290
3290
|
* @param saveSynonyms.synonymHit - The synonymHit object.
|
|
3291
|
-
* @param saveSynonyms.forwardToReplicas -
|
|
3292
|
-
* @param saveSynonyms.replaceExistingSynonyms -
|
|
3291
|
+
* @param saveSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
|
|
3292
|
+
* @param saveSynonyms.replaceExistingSynonyms - Whether to replace all synonyms in the index with the ones sent with this request.
|
|
3293
3293
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3294
3294
|
*/
|
|
3295
3295
|
saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms, }, requestOptions) {
|
|
@@ -3319,12 +3319,12 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3319
3319
|
return transporter.request(request, requestOptions);
|
|
3320
3320
|
},
|
|
3321
3321
|
/**
|
|
3322
|
-
*
|
|
3322
|
+
* 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.
|
|
3323
3323
|
*
|
|
3324
3324
|
* Required API Key ACLs:
|
|
3325
3325
|
* - search.
|
|
3326
3326
|
*
|
|
3327
|
-
* @param searchMethodParams -
|
|
3327
|
+
* @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
|
|
3328
3328
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3329
3329
|
*/
|
|
3330
3330
|
search(searchMethodParams, requestOptions) {
|
|
@@ -3371,13 +3371,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3371
3371
|
return transporter.request(request, requestOptions);
|
|
3372
3372
|
},
|
|
3373
3373
|
/**
|
|
3374
|
-
*
|
|
3374
|
+
* Searches for standard and custom dictionary entries.
|
|
3375
3375
|
*
|
|
3376
3376
|
* Required API Key ACLs:
|
|
3377
3377
|
* - settings.
|
|
3378
3378
|
*
|
|
3379
3379
|
* @param searchDictionaryEntries - The searchDictionaryEntries object.
|
|
3380
|
-
* @param searchDictionaryEntries.dictionaryName - Dictionary to search
|
|
3380
|
+
* @param searchDictionaryEntries.dictionaryName - Dictionary type in which to search.
|
|
3381
3381
|
* @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
|
|
3382
3382
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3383
3383
|
*/
|
|
@@ -3406,14 +3406,14 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3406
3406
|
return transporter.request(request, requestOptions);
|
|
3407
3407
|
},
|
|
3408
3408
|
/**
|
|
3409
|
-
*
|
|
3409
|
+
* 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**.
|
|
3410
3410
|
*
|
|
3411
3411
|
* Required API Key ACLs:
|
|
3412
3412
|
* - search.
|
|
3413
3413
|
*
|
|
3414
3414
|
* @param searchForFacetValues - The searchForFacetValues object.
|
|
3415
|
-
* @param searchForFacetValues.indexName -
|
|
3416
|
-
* @param searchForFacetValues.facetName - Facet
|
|
3415
|
+
* @param searchForFacetValues.indexName - Name of the index on which to perform the operation.
|
|
3416
|
+
* @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.
|
|
3417
3417
|
* @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
|
|
3418
3418
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3419
3419
|
*/
|
|
@@ -3441,13 +3441,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3441
3441
|
return transporter.request(request, requestOptions);
|
|
3442
3442
|
},
|
|
3443
3443
|
/**
|
|
3444
|
-
*
|
|
3444
|
+
* Searches for rules in your index.
|
|
3445
3445
|
*
|
|
3446
3446
|
* Required API Key ACLs:
|
|
3447
3447
|
* - settings.
|
|
3448
3448
|
*
|
|
3449
3449
|
* @param searchRules - The searchRules object.
|
|
3450
|
-
* @param searchRules.indexName -
|
|
3450
|
+
* @param searchRules.indexName - Name of the index on which to perform the operation.
|
|
3451
3451
|
* @param searchRules.searchRulesParams - The searchRulesParams object.
|
|
3452
3452
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3453
3453
|
*/
|
|
@@ -3470,13 +3470,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3470
3470
|
return transporter.request(request, requestOptions);
|
|
3471
3471
|
},
|
|
3472
3472
|
/**
|
|
3473
|
-
*
|
|
3473
|
+
* 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.
|
|
3474
3474
|
*
|
|
3475
3475
|
* Required API Key ACLs:
|
|
3476
3476
|
* - search.
|
|
3477
3477
|
*
|
|
3478
3478
|
* @param searchSingleIndex - The searchSingleIndex object.
|
|
3479
|
-
* @param searchSingleIndex.indexName -
|
|
3479
|
+
* @param searchSingleIndex.indexName - Name of the index on which to perform the operation.
|
|
3480
3480
|
* @param searchSingleIndex.searchParams - The searchParams object.
|
|
3481
3481
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3482
3482
|
*/
|
|
@@ -3499,13 +3499,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3499
3499
|
return transporter.request(request, requestOptions);
|
|
3500
3500
|
},
|
|
3501
3501
|
/**
|
|
3502
|
-
*
|
|
3502
|
+
* Searches for synonyms in your index.
|
|
3503
3503
|
*
|
|
3504
3504
|
* Required API Key ACLs:
|
|
3505
3505
|
* - settings.
|
|
3506
3506
|
*
|
|
3507
3507
|
* @param searchSynonyms - The searchSynonyms object.
|
|
3508
|
-
* @param searchSynonyms.indexName -
|
|
3508
|
+
* @param searchSynonyms.indexName - Name of the index on which to perform the operation.
|
|
3509
3509
|
* @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
|
|
3510
3510
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3511
3511
|
*/
|
|
@@ -3528,7 +3528,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3528
3528
|
return transporter.request(request, requestOptions);
|
|
3529
3529
|
},
|
|
3530
3530
|
/**
|
|
3531
|
-
* Since it can take
|
|
3531
|
+
* 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).
|
|
3532
3532
|
*
|
|
3533
3533
|
* Required API Key ACLs:
|
|
3534
3534
|
* - admin.
|
|
@@ -3558,7 +3558,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3558
3558
|
return transporter.request(request, requestOptions);
|
|
3559
3559
|
},
|
|
3560
3560
|
/**
|
|
3561
|
-
*
|
|
3561
|
+
* Turns standard stop word dictionary entries on or off for a given language.
|
|
3562
3562
|
*
|
|
3563
3563
|
* Required API Key ACLs:
|
|
3564
3564
|
* - editSettings.
|
|
@@ -3586,15 +3586,15 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3586
3586
|
return transporter.request(request, requestOptions);
|
|
3587
3587
|
},
|
|
3588
3588
|
/**
|
|
3589
|
-
* Update the specified
|
|
3589
|
+
* 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.
|
|
3590
3590
|
*
|
|
3591
3591
|
* Required API Key ACLs:
|
|
3592
3592
|
* - editSettings.
|
|
3593
3593
|
*
|
|
3594
3594
|
* @param setSettings - The setSettings object.
|
|
3595
|
-
* @param setSettings.indexName -
|
|
3595
|
+
* @param setSettings.indexName - Name of the index on which to perform the operation.
|
|
3596
3596
|
* @param setSettings.indexSettings - The indexSettings object.
|
|
3597
|
-
* @param setSettings.forwardToReplicas -
|
|
3597
|
+
* @param setSettings.forwardToReplicas - Whether changes are applied to replica indices.
|
|
3598
3598
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3599
3599
|
*/
|
|
3600
3600
|
setSettings({ indexName, indexSettings, forwardToReplicas }, requestOptions) {
|
|
@@ -3620,7 +3620,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3620
3620
|
return transporter.request(request, requestOptions);
|
|
3621
3621
|
},
|
|
3622
3622
|
/**
|
|
3623
|
-
*
|
|
3623
|
+
* Replaces the permissions of an existing API key. Any unspecified attribute resets that attribute to its default value.
|
|
3624
3624
|
*
|
|
3625
3625
|
* Required API Key ACLs:
|
|
3626
3626
|
* - admin.
|