algoliasearch 5.0.0-alpha.105 → 5.0.0-alpha.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/dist/algoliasearch/builds/browser.d.ts +2 -2
  2. package/dist/algoliasearch/builds/node.d.ts +2 -2
  3. package/dist/algoliasearch.cjs +191 -191
  4. package/dist/algoliasearch.esm.browser.js +191 -191
  5. package/dist/algoliasearch.esm.node.js +191 -191
  6. package/dist/algoliasearch.umd.js +2 -2
  7. package/dist/client-abtesting/model/aBTestResponse.d.ts +1 -1
  8. package/dist/client-abtesting/model/clientMethodProps.d.ts +2 -2
  9. package/dist/client-abtesting/src/abtestingClient.d.ts +3 -3
  10. package/dist/client-analytics/model/clientMethodProps.d.ts +65 -65
  11. package/dist/client-analytics/model/searchNoResultEvent.d.ts +1 -1
  12. package/dist/client-analytics/model/topSearch.d.ts +1 -1
  13. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +1 -1
  14. package/dist/client-analytics/src/analyticsClient.d.ts +66 -66
  15. package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
  16. package/dist/client-search/model/acl.d.ts +1 -1
  17. package/dist/client-search/model/action.d.ts +1 -1
  18. package/dist/client-search/model/addApiKeyResponse.d.ts +1 -1
  19. package/dist/client-search/model/anchoring.d.ts +1 -1
  20. package/dist/client-search/model/apiKey.d.ts +8 -8
  21. package/dist/client-search/model/aroundPrecision.d.ts +1 -1
  22. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts +9 -0
  23. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  24. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  25. package/dist/client-search/model/aroundRadiusAll.d.ts +3 -0
  26. package/dist/client-search/model/aroundRadiusAll.d.ts.map +1 -1
  27. package/dist/client-search/model/automaticFacetFilter.d.ts +4 -4
  28. package/dist/client-search/model/automaticFacetFilters.d.ts +1 -1
  29. package/dist/client-search/model/baseIndexSettings.d.ts +20 -16
  30. package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -1
  31. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  32. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  33. package/dist/client-search/model/baseSearchResponse.d.ts +6 -6
  34. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  35. package/dist/client-search/model/batchResponse.d.ts +2 -2
  36. package/dist/client-search/model/builtInOperation.d.ts +2 -2
  37. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  38. package/dist/client-search/model/clientMethodProps.d.ts +63 -63
  39. package/dist/client-search/model/condition.d.ts +7 -3
  40. package/dist/client-search/model/condition.d.ts.map +1 -1
  41. package/dist/client-search/model/consequence.d.ts +5 -5
  42. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  43. package/dist/client-search/model/consequenceQuery.d.ts +1 -1
  44. package/dist/client-search/model/consequenceQueryObject.d.ts +2 -2
  45. package/dist/client-search/model/createdAtResponse.d.ts +1 -1
  46. package/dist/client-search/model/cursor.d.ts +1 -1
  47. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  48. package/dist/client-search/model/deletedAtResponse.d.ts +1 -1
  49. package/dist/client-search/model/dictionaryEntry.d.ts +5 -5
  50. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  51. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  52. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  53. package/dist/client-search/model/distinct.d.ts +1 -1
  54. package/dist/client-search/model/edit.d.ts +1 -1
  55. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  56. package/dist/client-search/model/facetFilters.d.ts +1 -1
  57. package/dist/client-search/model/facetHits.d.ts +2 -2
  58. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  59. package/dist/client-search/model/facets.d.ts +2 -2
  60. package/dist/client-search/model/getObjectsRequest.d.ts +3 -3
  61. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  62. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +1 -1
  63. package/dist/client-search/model/highlightResultOption.d.ts +3 -3
  64. package/dist/client-search/model/hit.d.ts +4 -4
  65. package/dist/client-search/model/ignorePlurals.d.ts +1 -1
  66. package/dist/client-search/model/index.d.ts +1 -0
  67. package/dist/client-search/model/index.d.ts.map +1 -1
  68. package/dist/client-search/model/indexSettings.d.ts +1 -1
  69. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -34
  70. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  71. package/dist/client-search/model/log.d.ts +11 -11
  72. package/dist/client-search/model/logQuery.d.ts +1 -1
  73. package/dist/client-search/model/matchLevel.d.ts +1 -1
  74. package/dist/client-search/model/mode.d.ts +1 -1
  75. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  76. package/dist/client-search/model/numericFilters.d.ts +1 -1
  77. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  78. package/dist/client-search/model/operationType.d.ts +1 -1
  79. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  80. package/dist/client-search/model/params.d.ts +1 -1
  81. package/dist/client-search/model/promoteObjectID.d.ts +2 -2
  82. package/dist/client-search/model/promoteObjectIDs.d.ts +2 -2
  83. package/dist/client-search/model/queryType.d.ts +1 -1
  84. package/dist/client-search/model/rankingInfo.d.ts +10 -7
  85. package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
  86. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  87. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  88. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  89. package/dist/client-search/model/renderingContent.d.ts +1 -1
  90. package/dist/client-search/model/rule.d.ts +5 -5
  91. package/dist/client-search/model/saveObjectResponse.d.ts +3 -3
  92. package/dist/client-search/model/saveSynonymResponse.d.ts +1 -1
  93. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +4 -4
  94. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts +20 -0
  95. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  96. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +1 -1
  97. package/dist/client-search/model/searchForFacetValuesResponse.d.ts +3 -0
  98. package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -1
  99. package/dist/client-search/model/searchForFacetsOptions.d.ts +2 -2
  100. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  101. package/dist/client-search/model/searchHits.d.ts +6 -3
  102. package/dist/client-search/model/searchHits.d.ts.map +1 -1
  103. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  104. package/dist/client-search/model/searchRulesParams.d.ts +4 -8
  105. package/dist/client-search/model/searchRulesParams.d.ts.map +1 -1
  106. package/dist/client-search/model/searchRulesResponse.d.ts +2 -2
  107. package/dist/client-search/model/searchStrategy.d.ts +1 -1
  108. package/dist/client-search/model/searchSynonymsParams.d.ts +2 -2
  109. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  110. package/dist/client-search/model/searchUserIdsParams.d.ts +1 -1
  111. package/dist/client-search/model/searchUserIdsResponse.d.ts +2 -2
  112. package/dist/client-search/model/securedAPIKeyRestrictions.d.ts +5 -5
  113. package/dist/client-search/model/semanticSearch.d.ts +2 -2
  114. package/dist/client-search/model/snippetResultOption.d.ts +2 -2
  115. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  116. package/dist/client-search/model/tagFilters.d.ts +1 -1
  117. package/dist/client-search/model/taskStatus.d.ts +1 -1
  118. package/dist/client-search/model/timeRange.d.ts +2 -2
  119. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  120. package/dist/client-search/model/typoToleranceEnum.d.ts +3 -0
  121. package/dist/client-search/model/typoToleranceEnum.d.ts.map +1 -1
  122. package/dist/client-search/model/updatedAtResponse.d.ts +1 -1
  123. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +2 -2
  124. package/dist/client-search/model/updatedRuleResponse.d.ts +2 -2
  125. package/dist/client-search/model/userHit.d.ts +1 -1
  126. package/dist/client-search/model/userId.d.ts +1 -1
  127. package/dist/client-search/model/value.d.ts +1 -1
  128. package/dist/client-search/src/searchClient.d.ts +124 -123
  129. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  130. package/dist/lite/lite.cjs +3 -3
  131. package/dist/lite/lite.esm.browser.js +3 -3
  132. package/dist/lite/lite.esm.node.js +3 -3
  133. package/dist/lite/lite.umd.js +2 -2
  134. package/dist/lite/model/acl.d.ts +1 -1
  135. package/dist/lite/model/action.d.ts +1 -1
  136. package/dist/lite/model/addApiKeyResponse.d.ts +1 -1
  137. package/dist/lite/model/anchoring.d.ts +1 -1
  138. package/dist/lite/model/apiKey.d.ts +8 -8
  139. package/dist/lite/model/aroundPrecision.d.ts +1 -1
  140. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts +9 -0
  141. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  142. package/dist/lite/model/aroundRadius.d.ts +1 -1
  143. package/dist/lite/model/aroundRadiusAll.d.ts +3 -0
  144. package/dist/lite/model/aroundRadiusAll.d.ts.map +1 -1
  145. package/dist/lite/model/automaticFacetFilter.d.ts +4 -4
  146. package/dist/lite/model/automaticFacetFilters.d.ts +1 -1
  147. package/dist/lite/model/baseIndexSettings.d.ts +20 -16
  148. package/dist/lite/model/baseIndexSettings.d.ts.map +1 -1
  149. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  150. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  151. package/dist/lite/model/baseSearchResponse.d.ts +6 -6
  152. package/dist/lite/model/builtInOperation.d.ts +2 -2
  153. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  154. package/dist/lite/model/condition.d.ts +7 -3
  155. package/dist/lite/model/condition.d.ts.map +1 -1
  156. package/dist/lite/model/consequence.d.ts +5 -5
  157. package/dist/lite/model/consequenceHide.d.ts +2 -2
  158. package/dist/lite/model/consequenceQuery.d.ts +1 -1
  159. package/dist/lite/model/consequenceQueryObject.d.ts +2 -2
  160. package/dist/lite/model/cursor.d.ts +1 -1
  161. package/dist/lite/model/deleteByParams.d.ts +4 -4
  162. package/dist/lite/model/dictionaryEntry.d.ts +5 -5
  163. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  164. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  165. package/dist/lite/model/distinct.d.ts +1 -1
  166. package/dist/lite/model/edit.d.ts +1 -1
  167. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  168. package/dist/lite/model/facetFilters.d.ts +1 -1
  169. package/dist/lite/model/facetHits.d.ts +2 -2
  170. package/dist/lite/model/facetOrdering.d.ts +2 -2
  171. package/dist/lite/model/facets.d.ts +2 -2
  172. package/dist/lite/model/highlightResultOption.d.ts +3 -3
  173. package/dist/lite/model/hit.d.ts +4 -4
  174. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  175. package/dist/lite/model/index.d.ts +1 -0
  176. package/dist/lite/model/index.d.ts.map +1 -1
  177. package/dist/lite/model/indexSettings.d.ts +1 -1
  178. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -34
  179. package/dist/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  180. package/dist/lite/model/matchLevel.d.ts +1 -1
  181. package/dist/lite/model/mode.d.ts +1 -1
  182. package/dist/lite/model/numericFilters.d.ts +1 -1
  183. package/dist/lite/model/operationType.d.ts +1 -1
  184. package/dist/lite/model/optionalFilters.d.ts +1 -1
  185. package/dist/lite/model/params.d.ts +1 -1
  186. package/dist/lite/model/promoteObjectID.d.ts +2 -2
  187. package/dist/lite/model/promoteObjectIDs.d.ts +2 -2
  188. package/dist/lite/model/queryType.d.ts +1 -1
  189. package/dist/lite/model/rankingInfo.d.ts +10 -7
  190. package/dist/lite/model/rankingInfo.d.ts.map +1 -1
  191. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  192. package/dist/lite/model/removeStopWords.d.ts +1 -1
  193. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  194. package/dist/lite/model/renderingContent.d.ts +1 -1
  195. package/dist/lite/model/rule.d.ts +5 -5
  196. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts +20 -0
  197. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  198. package/dist/lite/model/searchForFacetValuesResponse.d.ts +3 -0
  199. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -1
  200. package/dist/lite/model/searchForFacetsOptions.d.ts +2 -2
  201. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  202. package/dist/lite/model/searchHits.d.ts +6 -3
  203. package/dist/lite/model/searchHits.d.ts.map +1 -1
  204. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  205. package/dist/lite/model/searchStrategy.d.ts +1 -1
  206. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  207. package/dist/lite/model/securedAPIKeyRestrictions.d.ts +5 -5
  208. package/dist/lite/model/semanticSearch.d.ts +2 -2
  209. package/dist/lite/model/snippetResultOption.d.ts +2 -2
  210. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  211. package/dist/lite/model/tagFilters.d.ts +1 -1
  212. package/dist/lite/model/taskStatus.d.ts +1 -1
  213. package/dist/lite/model/timeRange.d.ts +2 -2
  214. package/dist/lite/model/typoTolerance.d.ts +1 -1
  215. package/dist/lite/model/typoToleranceEnum.d.ts +3 -0
  216. package/dist/lite/model/typoToleranceEnum.d.ts.map +1 -1
  217. package/dist/lite/model/updatedRuleResponse.d.ts +2 -2
  218. package/dist/lite/model/userId.d.ts +1 -1
  219. package/dist/lite/model/value.d.ts +1 -1
  220. package/dist/lite/src/liteClient.d.ts +3 -3
  221. package/dist/lite/src/liteClient.d.ts.map +1 -1
  222. package/lite/model/acl.ts +1 -1
  223. package/lite/model/action.ts +1 -1
  224. package/lite/model/addApiKeyResponse.ts +1 -1
  225. package/lite/model/anchoring.ts +1 -1
  226. package/lite/model/apiKey.ts +8 -8
  227. package/lite/model/aroundPrecision.ts +1 -1
  228. package/lite/model/aroundPrecisionFromValueInner.ts +9 -0
  229. package/lite/model/aroundRadius.ts +1 -1
  230. package/lite/model/aroundRadiusAll.ts +3 -0
  231. package/lite/model/automaticFacetFilter.ts +4 -4
  232. package/lite/model/automaticFacetFilters.ts +1 -1
  233. package/lite/model/baseIndexSettings.ts +21 -16
  234. package/lite/model/baseSearchParamsWithoutQuery.ts +24 -29
  235. package/lite/model/baseSearchResponse.ts +6 -6
  236. package/lite/model/builtInOperation.ts +2 -2
  237. package/lite/model/builtInOperationType.ts +1 -1
  238. package/lite/model/condition.ts +8 -3
  239. package/lite/model/consequence.ts +5 -5
  240. package/lite/model/consequenceHide.ts +2 -2
  241. package/lite/model/consequenceQuery.ts +1 -1
  242. package/lite/model/consequenceQueryObject.ts +2 -2
  243. package/lite/model/cursor.ts +1 -1
  244. package/lite/model/deleteByParams.ts +4 -4
  245. package/lite/model/dictionaryEntry.ts +5 -5
  246. package/lite/model/dictionaryEntryState.ts +1 -1
  247. package/lite/model/dictionaryLanguage.ts +2 -2
  248. package/lite/model/distinct.ts +1 -1
  249. package/lite/model/edit.ts +1 -1
  250. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  251. package/lite/model/facetFilters.ts +1 -1
  252. package/lite/model/facetHits.ts +2 -2
  253. package/lite/model/facetOrdering.ts +2 -2
  254. package/lite/model/facets.ts +2 -2
  255. package/lite/model/highlightResultOption.ts +3 -3
  256. package/lite/model/hit.ts +4 -4
  257. package/lite/model/ignorePlurals.ts +1 -1
  258. package/lite/model/index.ts +1 -0
  259. package/lite/model/indexSettings.ts +1 -1
  260. package/lite/model/indexSettingsAsSearchParams.ts +30 -35
  261. package/lite/model/matchLevel.ts +1 -1
  262. package/lite/model/mode.ts +1 -1
  263. package/lite/model/numericFilters.ts +1 -1
  264. package/lite/model/operationType.ts +1 -1
  265. package/lite/model/optionalFilters.ts +1 -1
  266. package/lite/model/params.ts +1 -1
  267. package/lite/model/promoteObjectID.ts +2 -2
  268. package/lite/model/promoteObjectIDs.ts +2 -2
  269. package/lite/model/queryType.ts +1 -1
  270. package/lite/model/rankingInfo.ts +10 -7
  271. package/lite/model/reRankingApplyFilter.ts +1 -1
  272. package/lite/model/removeStopWords.ts +1 -1
  273. package/lite/model/removeWordsIfNoResults.ts +1 -1
  274. package/lite/model/renderingContent.ts +1 -1
  275. package/lite/model/rule.ts +5 -5
  276. package/lite/model/searchDictionaryEntriesResponse.ts +25 -0
  277. package/lite/model/searchForFacetValuesResponse.ts +3 -0
  278. package/lite/model/searchForFacetsOptions.ts +2 -2
  279. package/lite/model/searchForHitsOptions.ts +1 -1
  280. package/lite/model/searchHits.ts +6 -3
  281. package/lite/model/searchParamsQuery.ts +1 -1
  282. package/lite/model/searchStrategy.ts +1 -1
  283. package/lite/model/searchSynonymsResponse.ts +2 -2
  284. package/lite/model/securedAPIKeyRestrictions.ts +5 -5
  285. package/lite/model/semanticSearch.ts +2 -2
  286. package/lite/model/snippetResultOption.ts +2 -2
  287. package/lite/model/sortRemainingBy.ts +1 -1
  288. package/lite/model/tagFilters.ts +1 -1
  289. package/lite/model/taskStatus.ts +1 -1
  290. package/lite/model/timeRange.ts +2 -2
  291. package/lite/model/typoTolerance.ts +1 -1
  292. package/lite/model/typoToleranceEnum.ts +3 -0
  293. package/lite/model/updatedRuleResponse.ts +2 -2
  294. package/lite/model/userId.ts +1 -1
  295. package/lite/model/value.ts +1 -1
  296. package/lite/src/liteClient.ts +3 -3
  297. package/package.json +11 -11
@@ -30,6 +30,7 @@ import type { ReplaceSourceResponse } from '../model/replaceSourceResponse';
30
30
  import type { Rule } from '../model/rule';
31
31
  import type { SaveObjectResponse } from '../model/saveObjectResponse';
32
32
  import type { SaveSynonymResponse } from '../model/saveSynonymResponse';
33
+ import type { SearchDictionaryEntriesResponse } from '../model/searchDictionaryEntriesResponse';
33
34
  import type { SearchForFacetValuesResponse } from '../model/searchForFacetValuesResponse';
34
35
  import type { SearchMethodParams } from '../model/searchMethodParams';
35
36
  import type { SearchResponse } from '../model/searchResponse';
@@ -45,7 +46,7 @@ import type { UpdatedAtResponse } from '../model/updatedAtResponse';
45
46
  import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObjectIdResponse';
46
47
  import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
47
48
  import type { UserId } from '../model/userId';
48
- export declare const apiClientVersion = "5.0.0-alpha.105";
49
+ export declare const apiClientVersion = "5.0.0-alpha.107";
49
50
  export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
50
51
  transporter: import("@algolia/client-common").Transporter;
51
52
  /**
@@ -103,7 +104,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
103
104
  * @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
104
105
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `browse` method and merged with the transporter requestOptions.
105
106
  */
106
- browseObjects<T>({ indexName, browseParams, ...browseObjectsOptions }: Partial<Pick<import("@algolia/client-common").CreateIterablePromise<BrowseResponse<T>>, "validate">> & Required<Pick<import("@algolia/client-common").CreateIterablePromise<BrowseResponse<T>>, "aggregator">> & BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T>>;
107
+ browseObjects<T>({ indexName, browseParams, ...browseObjectsOptions }: BrowseOptions<BrowseResponse<T>> & BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T>>;
107
108
  /**
108
109
  * Helper: Iterate on the `searchRules` method of the client to allow aggregating rules of an index.
109
110
  *
@@ -175,7 +176,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
175
176
  */
176
177
  replaceAllObjects({ indexName, objects, batchSize }: ReplaceAllObjectsOptions, requestOptions?: RequestOptions): Promise<ReplaceAllObjectsResponse>;
177
178
  /**
178
- * Add a new API key with specific permissions and restrictions. The request must be authenticated with the admin API key. The response returns an API key string.
179
+ * Creates a new API key with specific permissions and restrictions.
179
180
  *
180
181
  * Required API Key ACLs:
181
182
  * - admin.
@@ -185,20 +186,20 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
185
186
  */
186
187
  addApiKey(apiKey: ApiKey, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
187
188
  /**
188
- * If you use an existing `objectID`, the existing record will be replaced with the new one. To update only some attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add multiple records to your index in a single API request, use the [`batch` operation](#tag/Records/operation/batch).
189
+ * 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).
189
190
  *
190
191
  * Required API Key ACLs:
191
192
  * - addObject.
192
193
  *
193
194
  * @param addOrUpdateObject - The addOrUpdateObject object.
194
- * @param addOrUpdateObject.indexName - Index on which to perform the request.
195
- * @param addOrUpdateObject.objectID - Unique record (object) identifier.
196
- * @param addOrUpdateObject.body - Algolia record.
195
+ * @param addOrUpdateObject.indexName - Name of the index on which to perform the operation.
196
+ * @param addOrUpdateObject.objectID - Unique record identifier.
197
+ * @param addOrUpdateObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
197
198
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
198
199
  */
199
200
  addOrUpdateObject({ indexName, objectID, body }: AddOrUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
200
201
  /**
201
- * Add a source to the list of allowed sources.
202
+ * Adds a source to the list of allowed sources.
202
203
  *
203
204
  * Required API Key ACLs:
204
205
  * - admin.
@@ -208,94 +209,94 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
208
209
  */
209
210
  appendSource(source: Source, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
210
211
  /**
211
- * Assign or move 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.
212
+ * 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.
212
213
  *
213
214
  * Required API Key ACLs:
214
215
  * - admin.
215
216
  *
216
217
  * @param assignUserId - The assignUserId object.
217
- * @param assignUserId.xAlgoliaUserID - UserID to assign.
218
+ * @param assignUserId.xAlgoliaUserID - User ID to assign.
218
219
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
219
220
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
220
221
  */
221
222
  assignUserId({ xAlgoliaUserID, assignUserIdParams }: AssignUserIdProps, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
222
223
  /**
223
- * To reduce the time spent on network round trips, you can perform several write actions in a single API call. Actions are applied in the order they are specified. The supported `action`s are equivalent to the individual operations of the same name.
224
+ * 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.
224
225
  *
225
226
  * @param batch - The batch object.
226
- * @param batch.indexName - Index on which to perform the request.
227
+ * @param batch.indexName - Name of the index on which to perform the operation.
227
228
  * @param batch.batchWriteParams - The batchWriteParams object.
228
229
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
229
230
  */
230
231
  batch({ indexName, batchWriteParams }: BatchProps, requestOptions?: RequestOptions): Promise<BatchResponse>;
231
232
  /**
232
- * Assign multiple user IDs to a cluster. **You can\'t _move_ users with this operation.**.
233
+ * Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**.
233
234
  *
234
235
  * Required API Key ACLs:
235
236
  * - admin.
236
237
  *
237
238
  * @param batchAssignUserIds - The batchAssignUserIds object.
238
- * @param batchAssignUserIds.xAlgoliaUserID - UserID to assign.
239
+ * @param batchAssignUserIds.xAlgoliaUserID - User ID to assign.
239
240
  * @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
240
241
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
241
242
  */
242
243
  batchAssignUserIds({ xAlgoliaUserID, batchAssignUserIdsParams }: BatchAssignUserIdsProps, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
243
244
  /**
244
- * Add or remove a batch of dictionary entries.
245
+ * Adds or deletes multiple entries from your plurals, segmentation, or stop word dictionaries.
245
246
  *
246
247
  * Required API Key ACLs:
247
248
  * - editSettings.
248
249
  *
249
250
  * @param batchDictionaryEntries - The batchDictionaryEntries object.
250
- * @param batchDictionaryEntries.dictionaryName - Dictionary to search in.
251
+ * @param batchDictionaryEntries.dictionaryName - Dictionary type in which to search.
251
252
  * @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
252
253
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
253
254
  */
254
255
  batchDictionaryEntries({ dictionaryName, batchDictionaryEntriesParams, }: BatchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
255
256
  /**
256
- * Retrieve up to 1,000 records per call. Supports full-text search and filters. For better performance, it doesn\'t support: - The `distinct` query parameter - Sorting by typos, proximity, words, or geographical distance.
257
+ * 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.
257
258
  *
258
259
  * Required API Key ACLs:
259
260
  * - browse.
260
261
  *
261
262
  * @param browse - The browse object.
262
- * @param browse.indexName - Index on which to perform the request.
263
+ * @param browse.indexName - Name of the index on which to perform the operation.
263
264
  * @param browse.browseParams - The browseParams object.
264
265
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
265
266
  */
266
267
  browse<T_2>({ indexName, browseParams }: BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T_2>>;
267
268
  /**
268
- * Delete the records but leave settings and index-specific API keys untouched.
269
+ * Deletes only the records from an index while keeping settings, synonyms, and rules.
269
270
  *
270
271
  * Required API Key ACLs:
271
272
  * - deleteIndex.
272
273
  *
273
274
  * @param clearObjects - The clearObjects object.
274
- * @param clearObjects.indexName - Index on which to perform the request.
275
+ * @param clearObjects.indexName - Name of the index on which to perform the operation.
275
276
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
276
277
  */
277
278
  clearObjects({ indexName }: ClearObjectsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
278
279
  /**
279
- * Delete all rules in the index.
280
+ * Deletes all rules from the index.
280
281
  *
281
282
  * Required API Key ACLs:
282
283
  * - editSettings.
283
284
  *
284
285
  * @param clearRules - The clearRules object.
285
- * @param clearRules.indexName - Index on which to perform the request.
286
- * @param clearRules.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
286
+ * @param clearRules.indexName - Name of the index on which to perform the operation.
287
+ * @param clearRules.forwardToReplicas - Whether changes are applied to replica indices.
287
288
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
288
289
  */
289
290
  clearRules({ indexName, forwardToReplicas }: ClearRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
290
291
  /**
291
- * Delete all synonyms in the index.
292
+ * Deletes all synonyms from the index.
292
293
  *
293
294
  * Required API Key ACLs:
294
295
  * - editSettings.
295
296
  *
296
297
  * @param clearSynonyms - The clearSynonyms object.
297
- * @param clearSynonyms.indexName - Index on which to perform the request.
298
- * @param clearSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
298
+ * @param clearSynonyms.indexName - Name of the index on which to perform the operation.
299
+ * @param clearSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
299
300
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
300
301
  */
301
302
  clearSynonyms({ indexName, forwardToReplicas }: ClearSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
@@ -338,7 +339,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
338
339
  */
339
340
  customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
340
341
  /**
341
- * Delete an existing API key. The request must be authenticated with the admin API key.
342
+ * Deletes the API key.
342
343
  *
343
344
  * Required API Key ACLs:
344
345
  * - admin.
@@ -349,55 +350,55 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
349
350
  */
350
351
  deleteApiKey({ key }: DeleteApiKeyProps, requestOptions?: RequestOptions): Promise<DeleteApiKeyResponse>;
351
352
  /**
352
- * This operation doesn\'t support all the query options, only its filters (numeric, facet, or tag) and geo queries. It doesn\'t accept empty filters or queries.
353
+ * 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).
353
354
  *
354
355
  * Required API Key ACLs:
355
356
  * - deleteIndex.
356
357
  *
357
358
  * @param deleteBy - The deleteBy object.
358
- * @param deleteBy.indexName - Index on which to perform the request.
359
+ * @param deleteBy.indexName - Name of the index on which to perform the operation.
359
360
  * @param deleteBy.deleteByParams - The deleteByParams object.
360
361
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
361
362
  */
362
363
  deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
363
364
  /**
364
- * Delete an existing index.
365
+ * 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/).
365
366
  *
366
367
  * Required API Key ACLs:
367
368
  * - deleteIndex.
368
369
  *
369
370
  * @param deleteIndex - The deleteIndex object.
370
- * @param deleteIndex.indexName - Index on which to perform the request.
371
+ * @param deleteIndex.indexName - Name of the index on which to perform the operation.
371
372
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
372
373
  */
373
374
  deleteIndex({ indexName }: DeleteIndexProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
374
375
  /**
375
- * To delete a set of records matching a query, use the [`deleteByQuery` operation](#tag/Records/operation/deleteBy) instead.
376
+ * 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).
376
377
  *
377
378
  * Required API Key ACLs:
378
379
  * - deleteObject.
379
380
  *
380
381
  * @param deleteObject - The deleteObject object.
381
- * @param deleteObject.indexName - Index on which to perform the request.
382
- * @param deleteObject.objectID - Unique record (object) identifier.
382
+ * @param deleteObject.indexName - Name of the index on which to perform the operation.
383
+ * @param deleteObject.objectID - Unique record identifier.
383
384
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
384
385
  */
385
386
  deleteObject({ indexName, objectID }: DeleteObjectProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
386
387
  /**
387
- * Delete a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
388
+ * Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
388
389
  *
389
390
  * Required API Key ACLs:
390
391
  * - editSettings.
391
392
  *
392
393
  * @param deleteRule - The deleteRule object.
393
- * @param deleteRule.indexName - Index on which to perform the request.
394
+ * @param deleteRule.indexName - Name of the index on which to perform the operation.
394
395
  * @param deleteRule.objectID - Unique identifier of a rule object.
395
- * @param deleteRule.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
396
+ * @param deleteRule.forwardToReplicas - Whether changes are applied to replica indices.
396
397
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
397
398
  */
398
399
  deleteRule({ indexName, objectID, forwardToReplicas }: DeleteRuleProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
399
400
  /**
400
- * Remove a source from the list of allowed sources.
401
+ * Deletes a source from the list of allowed sources.
401
402
  *
402
403
  * Required API Key ACLs:
403
404
  * - admin.
@@ -408,20 +409,20 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
408
409
  */
409
410
  deleteSource({ source }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteSourceResponse>;
410
411
  /**
411
- * Delete a synonym by its `objectID`. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
412
+ * Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
412
413
  *
413
414
  * Required API Key ACLs:
414
415
  * - editSettings.
415
416
  *
416
417
  * @param deleteSynonym - The deleteSynonym object.
417
- * @param deleteSynonym.indexName - Index on which to perform the request.
418
+ * @param deleteSynonym.indexName - Name of the index on which to perform the operation.
418
419
  * @param deleteSynonym.objectID - Unique identifier of a synonym object.
419
- * @param deleteSynonym.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
420
+ * @param deleteSynonym.forwardToReplicas - Whether changes are applied to replica indices.
420
421
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
421
422
  */
422
423
  deleteSynonym({ indexName, objectID, forwardToReplicas }: DeleteSynonymProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
423
424
  /**
424
- * Get the permissions and restrictions of a specific 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.
425
+ * 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.
425
426
  *
426
427
  * @param getApiKey - The getApiKey object.
427
428
  * @param getApiKey.key - API key.
@@ -429,7 +430,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
429
430
  */
430
431
  getApiKey({ key }: GetApiKeyProps, requestOptions?: RequestOptions): Promise<GetApiKeyResponse>;
431
432
  /**
432
- * Lists Algolia\'s [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and any customizations applied to each language\'s [stop word](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/), [plural](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/), and [segmentation (compound)](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) features.
433
+ * Lists supported languages with their supported dictionary types and number of custom entries.
433
434
  *
434
435
  * Required API Key ACLs:
435
436
  * - settings.
@@ -438,7 +439,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
438
439
  */
439
440
  getDictionaryLanguages(requestOptions?: RequestOptions): Promise<Record<string, Languages>>;
440
441
  /**
441
- * Get the languages for which [stop words are turned off](#tag/Dictionaries/operation/setDictionarySettings).
442
+ * Retrieves the languages for which standard dictionary entries are turned off.
442
443
  *
443
444
  * Required API Key ACLs:
444
445
  * - settings.
@@ -447,34 +448,34 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
447
448
  */
448
449
  getDictionarySettings(requestOptions?: RequestOptions): Promise<GetDictionarySettingsResponse>;
449
450
  /**
450
- * 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. There\'s also a logging limit of 1,000 API calls per server. 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. > **Note**: To fetch the logs for a Distributed Search Network (DSN) cluster, target the [DSN\'s endpoint](https://www.algolia.com/doc/guides/scaling/distributed-search-network-dsn/#accessing-dsn-servers).
451
+ * 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.
451
452
  *
452
453
  * Required API Key ACLs:
453
454
  * - logs.
454
455
  *
455
456
  * @param getLogs - The getLogs object.
456
- * @param getLogs.offset - First log entry to retrieve. Sorted by decreasing date with 0 being the most recent.
457
+ * @param getLogs.offset - First log entry to retrieve. The most recent entries are listed first.
457
458
  * @param getLogs.length - Maximum number of entries to retrieve.
458
- * @param getLogs.indexName - Index for which log entries should be retrieved. When omitted, log entries are retrieved for all indices.
459
- * @param getLogs.type - Type of log entries to retrieve. When omitted, all log entries are retrieved.
459
+ * @param getLogs.indexName - Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
460
+ * @param getLogs.type - Type of log entries to retrieve. By default, all log entries are retrieved.
460
461
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
461
462
  */
462
463
  getLogs({ offset, length, indexName, type }?: GetLogsProps, requestOptions?: RequestOptions | undefined): Promise<GetLogsResponse>;
463
464
  /**
464
- * To get more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
465
+ * Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
465
466
  *
466
467
  * Required API Key ACLs:
467
468
  * - search.
468
469
  *
469
470
  * @param getObject - The getObject object.
470
- * @param getObject.indexName - Index on which to perform the request.
471
- * @param getObject.objectID - Unique record (object) identifier.
472
- * @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, even when not specified. [`unretrievableAttributes`](https://www.algolia.com/doc/api-reference/api-parameters/unretrievableAttributes/) won\'t be retrieved unless the request is authenticated with the admin API key.
471
+ * @param getObject.indexName - Name of the index on which to perform the operation.
472
+ * @param getObject.objectID - Unique record identifier.
473
+ * @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.
473
474
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
474
475
  */
475
476
  getObject({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<Record<string, string>>;
476
477
  /**
477
- * Retrieve one or more records, potentially from different indices, in a single API operation. Results will be received in the same order as the requests.
478
+ * Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
478
479
  *
479
480
  * Required API Key ACLs:
480
481
  * - search.
@@ -484,30 +485,30 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
484
485
  */
485
486
  getObjects<T_3>(getObjectsParams: GetObjectsParams, requestOptions?: RequestOptions): Promise<GetObjectsResponse<T_3>>;
486
487
  /**
487
- * Get a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
488
+ * Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
488
489
  *
489
490
  * Required API Key ACLs:
490
491
  * - settings.
491
492
  *
492
493
  * @param getRule - The getRule object.
493
- * @param getRule.indexName - Index on which to perform the request.
494
+ * @param getRule.indexName - Name of the index on which to perform the operation.
494
495
  * @param getRule.objectID - Unique identifier of a rule object.
495
496
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
496
497
  */
497
498
  getRule({ indexName, objectID }: GetRuleProps, requestOptions?: RequestOptions): Promise<Rule>;
498
499
  /**
499
- * Return an object containing an index\'s [configuration settings](https://www.algolia.com/doc/api-reference/settings-api-parameters/).
500
+ * Retrieves an object with non-null index settings.
500
501
  *
501
502
  * Required API Key ACLs:
502
503
  * - search.
503
504
  *
504
505
  * @param getSettings - The getSettings object.
505
- * @param getSettings.indexName - Index on which to perform the request.
506
+ * @param getSettings.indexName - Name of the index on which to perform the operation.
506
507
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
507
508
  */
508
509
  getSettings({ indexName }: GetSettingsProps, requestOptions?: RequestOptions): Promise<IndexSettings>;
509
510
  /**
510
- * Get all allowed sources (IP addresses).
511
+ * Retrieves all allowed IP addresses with access to your application.
511
512
  *
512
513
  * Required API Key ACLs:
513
514
  * - admin.
@@ -516,31 +517,31 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
516
517
  */
517
518
  getSources(requestOptions?: RequestOptions): Promise<Source[]>;
518
519
  /**
519
- * Get a syonym by its `objectID`. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
520
+ * Retrieves a syonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
520
521
  *
521
522
  * Required API Key ACLs:
522
523
  * - settings.
523
524
  *
524
525
  * @param getSynonym - The getSynonym object.
525
- * @param getSynonym.indexName - Index on which to perform the request.
526
+ * @param getSynonym.indexName - Name of the index on which to perform the operation.
526
527
  * @param getSynonym.objectID - Unique identifier of a synonym object.
527
528
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
528
529
  */
529
530
  getSynonym({ indexName, objectID }: GetSynonymProps, requestOptions?: RequestOptions): Promise<SynonymHit>;
530
531
  /**
531
- * Some operations, such as copying an index, will respond with a `taskID` value. Use this value here to check the status of that task.
532
+ * 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.
532
533
  *
533
534
  * Required API Key ACLs:
534
535
  * - addObject.
535
536
  *
536
537
  * @param getTask - The getTask object.
537
- * @param getTask.indexName - Index on which to perform the request.
538
+ * @param getTask.indexName - Name of the index on which to perform the operation.
538
539
  * @param getTask.taskID - Unique task identifier.
539
540
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
540
541
  */
541
542
  getTask({ indexName, taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<GetTaskResponse>;
542
543
  /**
543
- * Get the IDs of the 10 users with the highest number of records per cluster. Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time.
544
+ * 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.
544
545
  *
545
546
  * Required API Key ACLs:
546
547
  * - admin.
@@ -549,13 +550,13 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
549
550
  */
550
551
  getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse>;
551
552
  /**
552
- * Returns the userID data stored in the mapping. Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time.
553
+ * 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.
553
554
  *
554
555
  * Required API Key ACLs:
555
556
  * - admin.
556
557
  *
557
558
  * @param getUserId - The getUserId object.
558
- * @param getUserId.userID - UserID to assign.
559
+ * @param getUserId.userID - User ID to assign.
559
560
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
560
561
  */
561
562
  getUserId({ userID }: GetUserIdProps, requestOptions?: RequestOptions): Promise<UserId>;
@@ -566,12 +567,12 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
566
567
  * - admin.
567
568
  *
568
569
  * @param hasPendingMappings - The hasPendingMappings object.
569
- * @param hasPendingMappings.getClusters - Indicates whether to include the cluster\'s pending mapping state in the response.
570
+ * @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
570
571
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
571
572
  */
572
573
  hasPendingMappings({ getClusters }?: HasPendingMappingsProps, requestOptions?: RequestOptions | undefined): Promise<HasPendingMappingsResponse>;
573
574
  /**
574
- * List all API keys associated with your Algolia application, including their permissions and restrictions.
575
+ * Lists all API keys associated with your Algolia application, including their permissions and restrictions.
575
576
  *
576
577
  * Required API Key ACLs:
577
578
  * - admin.
@@ -580,7 +581,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
580
581
  */
581
582
  listApiKeys(requestOptions?: RequestOptions): Promise<ListApiKeysResponse>;
582
583
  /**
583
- * List the available clusters in a multi-cluster setup.
584
+ * Lists the available clusters in a multi-cluster setup.
584
585
  *
585
586
  * Required API Key ACLs:
586
587
  * - admin.
@@ -589,75 +590,75 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
589
590
  */
590
591
  listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse>;
591
592
  /**
592
- * List indices in an Algolia application.
593
+ * Lists all indices in the current Algolia application. The request follows any index restrictions of the API key you use to make the request.
593
594
  *
594
595
  * Required API Key ACLs:
595
596
  * - listIndexes.
596
597
  *
597
598
  * @param listIndices - The listIndices object.
598
- * @param listIndices.page - Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
599
- * @param listIndices.hitsPerPage - Maximum number of hits per page.
599
+ * @param listIndices.page - Requested page of the API response. If `null`, the API response is not paginated.
600
+ * @param listIndices.hitsPerPage - Number of hits per page.
600
601
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
601
602
  */
602
603
  listIndices({ page, hitsPerPage }?: ListIndicesProps, requestOptions?: RequestOptions | undefined): Promise<ListIndicesResponse>;
603
604
  /**
604
- * List the userIDs assigned to a multi-cluster application. Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time.
605
+ * 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.
605
606
  *
606
607
  * Required API Key ACLs:
607
608
  * - admin.
608
609
  *
609
610
  * @param listUserIds - The listUserIds object.
610
- * @param listUserIds.page - Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
611
- * @param listUserIds.hitsPerPage - Maximum number of hits per page.
611
+ * @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
612
+ * @param listUserIds.hitsPerPage - Number of hits per page.
612
613
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
613
614
  */
614
615
  listUserIds({ page, hitsPerPage }?: ListUserIdsProps, requestOptions?: RequestOptions | undefined): Promise<ListUserIdsResponse>;
615
616
  /**
616
- * To reduce the time spent on network round trips, you can perform several write actions in a single request. It\'s a multi-index version of the [`batch` operation](#tag/Records/operation/batch). Actions are applied in the order they are specified. The supported actions are equivalent to the individual operations of the same name.
617
+ * 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.
617
618
  *
618
619
  * @param batchParams - The batchParams object.
619
620
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
620
621
  */
621
622
  multipleBatch(batchParams: BatchParams, requestOptions?: RequestOptions): Promise<MultipleBatchResponse>;
622
623
  /**
623
- * This `operation`, _copy_ or _move_, will copy or move a source index\'s (`IndexName`) records, settings, synonyms, and rules to a `destination` index. If the destination index exists, it will be replaced, except for index-specific API keys and analytics data. If the destination index doesn\'t exist, it will be created. The choice between moving or copying an index depends on your needs. Choose: - **Move** to rename an index. - **Copy** to create a new index with the same records and configuration as an existing one. > **Note**: When considering copying or moving, be aware of the [rate limitations](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits) on these processes and the [impact on your analytics data](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/concepts/indices-analytics/).
624
+ * 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/).
624
625
  *
625
626
  * Required API Key ACLs:
626
627
  * - addObject.
627
628
  *
628
629
  * @param operationIndex - The operationIndex object.
629
- * @param operationIndex.indexName - Index on which to perform the request.
630
+ * @param operationIndex.indexName - Name of the index on which to perform the operation.
630
631
  * @param operationIndex.operationIndexParams - The operationIndexParams object.
631
632
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
632
633
  */
633
634
  operationIndex({ indexName, operationIndexParams }: OperationIndexProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
634
635
  /**
635
- * Add new attributes or update current ones in an existing record. You can use any first-level attribute but not nested attributes. If you specify a [nested attribute](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/creating-and-using-nested-attributes/), the engine treats it as a replacement for its first-level ancestor.
636
+ * 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.
636
637
  *
637
638
  * Required API Key ACLs:
638
639
  * - addObject.
639
640
  *
640
641
  * @param partialUpdateObject - The partialUpdateObject object.
641
- * @param partialUpdateObject.indexName - Index on which to perform the request.
642
- * @param partialUpdateObject.objectID - Unique record (object) identifier.
643
- * @param partialUpdateObject.attributesToUpdate - Object with attributes to update.
644
- * @param partialUpdateObject.createIfNotExists - Indicates whether to create a new record if it doesn\'t exist yet.
642
+ * @param partialUpdateObject.indexName - Name of the index on which to perform the operation.
643
+ * @param partialUpdateObject.objectID - Unique record identifier.
644
+ * @param partialUpdateObject.attributesToUpdate - Attributes with their values.
645
+ * @param partialUpdateObject.createIfNotExists - Whether to create a new record if it doesn\'t exist.
645
646
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
646
647
  */
647
648
  partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }: PartialUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
648
649
  /**
649
- * Remove a userID and its associated data from the multi-clusters.
650
+ * Deletes a user ID and its associated data from the clusters.
650
651
  *
651
652
  * Required API Key ACLs:
652
653
  * - admin.
653
654
  *
654
655
  * @param removeUserId - The removeUserId object.
655
- * @param removeUserId.userID - UserID to assign.
656
+ * @param removeUserId.userID - User ID to assign.
656
657
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
657
658
  */
658
659
  removeUserId({ userID }: RemoveUserIdProps, requestOptions?: RequestOptions): Promise<RemoveUserIdResponse>;
659
660
  /**
660
- * Replace all allowed sources.
661
+ * Replaces the list of allowed sources.
661
662
  *
662
663
  * Required API Key ACLs:
663
664
  * - admin.
@@ -668,7 +669,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
668
669
  */
669
670
  replaceSources({ source }: ReplaceSourcesProps, requestOptions?: RequestOptions): Promise<ReplaceSourceResponse>;
670
671
  /**
671
- * Restore a deleted API key, along with its associated permissions. The request must be authenticated with the admin API key.
672
+ * 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.
672
673
  *
673
674
  * Required API Key ACLs:
674
675
  * - admin.
@@ -679,146 +680,146 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
679
680
  */
680
681
  restoreApiKey({ key }: RestoreApiKeyProps, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
681
682
  /**
682
- * Add a record (object) to an index or replace it. If the record doesn\'t contain an `objectID`, Algolia automatically adds it. If you use an existing `objectID`, the existing record is replaced with the new one. To add multiple records to your index in a single API request, use the [`batch` operation](#tag/Records/operation/batch).
683
+ * 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).
683
684
  *
684
685
  * Required API Key ACLs:
685
686
  * - addObject.
686
687
  *
687
688
  * @param saveObject - The saveObject object.
688
- * @param saveObject.indexName - Index on which to perform the request.
689
- * @param saveObject.body - The Algolia record.
689
+ * @param saveObject.indexName - Name of the index on which to perform the operation.
690
+ * @param saveObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
690
691
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
691
692
  */
692
693
  saveObject({ indexName, body }: SaveObjectProps, requestOptions?: RequestOptions): Promise<SaveObjectResponse>;
693
694
  /**
694
- * To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
695
+ * 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).
695
696
  *
696
697
  * Required API Key ACLs:
697
698
  * - editSettings.
698
699
  *
699
700
  * @param saveRule - The saveRule object.
700
- * @param saveRule.indexName - Index on which to perform the request.
701
+ * @param saveRule.indexName - Name of the index on which to perform the operation.
701
702
  * @param saveRule.objectID - Unique identifier of a rule object.
702
703
  * @param saveRule.rule - The rule object.
703
- * @param saveRule.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
704
+ * @param saveRule.forwardToReplicas - Whether changes are applied to replica indices.
704
705
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
705
706
  */
706
707
  saveRule({ indexName, objectID, rule, forwardToReplicas }: SaveRuleProps, requestOptions?: RequestOptions): Promise<UpdatedRuleResponse>;
707
708
  /**
708
- * Create or update multiple rules.
709
+ * 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.
709
710
  *
710
711
  * Required API Key ACLs:
711
712
  * - editSettings.
712
713
  *
713
714
  * @param saveRules - The saveRules object.
714
- * @param saveRules.indexName - Index on which to perform the request.
715
+ * @param saveRules.indexName - Name of the index on which to perform the operation.
715
716
  * @param saveRules.rules - The rules object.
716
- * @param saveRules.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
717
- * @param saveRules.clearExistingRules - Indicates whether existing rules should be deleted before adding this batch.
717
+ * @param saveRules.forwardToReplicas - Whether changes are applied to replica indices.
718
+ * @param saveRules.clearExistingRules - Whether existing rules should be deleted before adding this batch.
718
719
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
719
720
  */
720
721
  saveRules({ indexName, rules, forwardToReplicas, clearExistingRules, }: SaveRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
721
722
  /**
722
- * Add a [synonym](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms) to an index or replace it. If the synonym `objectID` doesn\'t exist, Algolia adds a new one. If you use an existing synonym `objectID`, the existing synonym is replaced with the new one. To add multiple synonyms in a single API request, use the [`batch` operation](#tag/Synonyms/operation/saveSynonyms).
723
+ * 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).
723
724
  *
724
725
  * Required API Key ACLs:
725
726
  * - editSettings.
726
727
  *
727
728
  * @param saveSynonym - The saveSynonym object.
728
- * @param saveSynonym.indexName - Index on which to perform the request.
729
+ * @param saveSynonym.indexName - Name of the index on which to perform the operation.
729
730
  * @param saveSynonym.objectID - Unique identifier of a synonym object.
730
731
  * @param saveSynonym.synonymHit - The synonymHit object.
731
- * @param saveSynonym.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
732
+ * @param saveSynonym.forwardToReplicas - Whether changes are applied to replica indices.
732
733
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
733
734
  */
734
735
  saveSynonym({ indexName, objectID, synonymHit, forwardToReplicas }: SaveSynonymProps, requestOptions?: RequestOptions): Promise<SaveSynonymResponse>;
735
736
  /**
736
- * Create or update multiple synonyms.
737
+ * If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced.
737
738
  *
738
739
  * Required API Key ACLs:
739
740
  * - editSettings.
740
741
  *
741
742
  * @param saveSynonyms - The saveSynonyms object.
742
- * @param saveSynonyms.indexName - Index on which to perform the request.
743
+ * @param saveSynonyms.indexName - Name of the index on which to perform the operation.
743
744
  * @param saveSynonyms.synonymHit - The synonymHit object.
744
- * @param saveSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
745
- * @param saveSynonyms.replaceExistingSynonyms - Indicates whether to replace all synonyms in the index with the ones sent with this request.
745
+ * @param saveSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
746
+ * @param saveSynonyms.replaceExistingSynonyms - Whether to replace all synonyms in the index with the ones sent with this request.
746
747
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
747
748
  */
748
749
  saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms, }: SaveSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
749
750
  /**
750
- * Send multiple search queries to one or more indices.
751
+ * 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.
751
752
  *
752
753
  * Required API Key ACLs:
753
754
  * - search.
754
755
  *
755
- * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
756
+ * @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
756
757
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
757
758
  */
758
759
  search<T_4>(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses<T_4>>;
759
760
  /**
760
- * Search for standard and [custom](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/) entries in the [stop words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/), [plurals](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/), or [segmentation (compounds)](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) dictionaries.
761
+ * Searches for standard and custom dictionary entries.
761
762
  *
762
763
  * Required API Key ACLs:
763
764
  * - settings.
764
765
  *
765
766
  * @param searchDictionaryEntries - The searchDictionaryEntries object.
766
- * @param searchDictionaryEntries.dictionaryName - Dictionary to search in.
767
+ * @param searchDictionaryEntries.dictionaryName - Dictionary type in which to search.
767
768
  * @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
768
769
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
769
770
  */
770
- searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams, }: SearchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
771
+ searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams, }: SearchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<SearchDictionaryEntriesResponse>;
771
772
  /**
772
- * [Search for a facet\'s values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values), optionally restricting the returned values to those contained in records matching other search criteria. > **Note**: Pagination isn\'t supported (`page` and `hitsPerPage` are ignored). By default, the engine returns a maximum of 10 values but you can adjust this with `maxFacetHits`.
773
+ * 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**.
773
774
  *
774
775
  * Required API Key ACLs:
775
776
  * - search.
776
777
  *
777
778
  * @param searchForFacetValues - The searchForFacetValues object.
778
- * @param searchForFacetValues.indexName - Index on which to perform the request.
779
- * @param searchForFacetValues.facetName - Facet name.
779
+ * @param searchForFacetValues.indexName - Name of the index on which to perform the operation.
780
+ * @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.
780
781
  * @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
781
782
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
782
783
  */
783
784
  searchForFacetValues({ indexName, facetName, searchForFacetValuesRequest, }: SearchForFacetValuesProps, requestOptions?: RequestOptions): Promise<SearchForFacetValuesResponse>;
784
785
  /**
785
- * Search for rules in your index. You can control the search with parameters. To list all rules, send an empty request body.
786
+ * Searches for rules in your index.
786
787
  *
787
788
  * Required API Key ACLs:
788
789
  * - settings.
789
790
  *
790
791
  * @param searchRules - The searchRules object.
791
- * @param searchRules.indexName - Index on which to perform the request.
792
+ * @param searchRules.indexName - Name of the index on which to perform the operation.
792
793
  * @param searchRules.searchRulesParams - The searchRulesParams object.
793
794
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
794
795
  */
795
796
  searchRules({ indexName, searchRulesParams }: SearchRulesProps, requestOptions?: RequestOptions): Promise<SearchRulesResponse>;
796
797
  /**
797
- * Return records that match the query.
798
+ * 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.
798
799
  *
799
800
  * Required API Key ACLs:
800
801
  * - search.
801
802
  *
802
803
  * @param searchSingleIndex - The searchSingleIndex object.
803
- * @param searchSingleIndex.indexName - Index on which to perform the request.
804
+ * @param searchSingleIndex.indexName - Name of the index on which to perform the operation.
804
805
  * @param searchSingleIndex.searchParams - The searchParams object.
805
806
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
806
807
  */
807
808
  searchSingleIndex<T_5>({ indexName, searchParams }: SearchSingleIndexProps, requestOptions?: RequestOptions): Promise<SearchResponse<T_5>>;
808
809
  /**
809
- * Search for synonyms in your index. You can control and filter the search with parameters. To get all synonyms, send an empty request body.
810
+ * Searches for synonyms in your index.
810
811
  *
811
812
  * Required API Key ACLs:
812
813
  * - settings.
813
814
  *
814
815
  * @param searchSynonyms - The searchSynonyms object.
815
- * @param searchSynonyms.indexName - Index on which to perform the request.
816
+ * @param searchSynonyms.indexName - Name of the index on which to perform the operation.
816
817
  * @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
817
818
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
818
819
  */
819
820
  searchSynonyms({ indexName, searchSynonymsParams }: SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
820
821
  /**
821
- * Since it can take up to 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).
822
+ * 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).
822
823
  *
823
824
  * Required API Key ACLs:
824
825
  * - admin.
@@ -828,7 +829,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
828
829
  */
829
830
  searchUserIds(searchUserIdsParams: SearchUserIdsParams, requestOptions?: RequestOptions): Promise<SearchUserIdsResponse>;
830
831
  /**
831
- * Set stop word settings for a specific language.
832
+ * Turns standard stop word dictionary entries on or off for a given language.
832
833
  *
833
834
  * Required API Key ACLs:
834
835
  * - editSettings.
@@ -838,20 +839,20 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
838
839
  */
839
840
  setDictionarySettings(dictionarySettingsParams: DictionarySettingsParams, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
840
841
  /**
841
- * Update the specified [index settings](https://www.algolia.com/doc/api-reference/settings-api-parameters/). Specifying null for a setting resets it to its default value.
842
+ * 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.
842
843
  *
843
844
  * Required API Key ACLs:
844
845
  * - editSettings.
845
846
  *
846
847
  * @param setSettings - The setSettings object.
847
- * @param setSettings.indexName - Index on which to perform the request.
848
+ * @param setSettings.indexName - Name of the index on which to perform the operation.
848
849
  * @param setSettings.indexSettings - The indexSettings object.
849
- * @param setSettings.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
850
+ * @param setSettings.forwardToReplicas - Whether changes are applied to replica indices.
850
851
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
851
852
  */
852
853
  setSettings({ indexName, indexSettings, forwardToReplicas }: SetSettingsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
853
854
  /**
854
- * Replace the permissions of an existing API key. Any unspecified parameter resets that permission to its default value. The request must be authenticated with the admin API key.
855
+ * Replaces the permissions of an existing API key. Any unspecified attribute resets that attribute to its default value.
855
856
  *
856
857
  * Required API Key ACLs:
857
858
  * - admin.