algoliasearch 5.0.0-alpha.73 → 5.0.0-alpha.76

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 (348) hide show
  1. package/dist/algoliasearch.cjs.js +342 -340
  2. package/dist/algoliasearch.esm.browser.js +342 -338
  3. package/dist/algoliasearch.esm.node.js +342 -338
  4. package/dist/algoliasearch.umd.js +2 -2
  5. package/dist/builds/browser.d.ts +2 -2
  6. package/dist/builds/node.d.ts +2 -2
  7. package/dist/client-abtesting/model/aBTest.d.ts +8 -12
  8. package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
  9. package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
  10. package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
  11. package/dist/client-abtesting/model/addABTestsRequest.d.ts +3 -3
  12. package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
  13. package/dist/client-abtesting/model/clientMethodProps.d.ts +16 -16
  14. package/dist/client-abtesting/model/customSearchParams.d.ts +3 -0
  15. package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -1
  16. package/dist/client-abtesting/model/listABTestsResponse.d.ts +3 -3
  17. package/dist/client-abtesting/model/variant.d.ts +14 -14
  18. package/dist/client-abtesting/src/abtestingClient.d.ts +27 -27
  19. package/dist/client-analytics/model/averageClickEvent.d.ts +3 -3
  20. package/dist/client-analytics/model/clickPosition.d.ts +2 -2
  21. package/dist/client-analytics/model/clickThroughRateEvent.d.ts +4 -4
  22. package/dist/client-analytics/model/clientMethodProps.d.ts +91 -91
  23. package/dist/client-analytics/model/conversionRateEvent.d.ts +4 -4
  24. package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +3 -3
  25. package/dist/client-analytics/model/getClickPositionsResponse.d.ts +1 -1
  26. package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +4 -4
  27. package/dist/client-analytics/model/getConversationRateResponse.d.ts +4 -4
  28. package/dist/client-analytics/model/getNoClickRateResponse.d.ts +4 -4
  29. package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +4 -4
  30. package/dist/client-analytics/model/getSearchesCountResponse.d.ts +2 -2
  31. package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +1 -1
  32. package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +1 -1
  33. package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
  34. package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
  35. package/dist/client-analytics/model/getTopFilterAttribute.d.ts +2 -2
  36. package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
  37. package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +4 -4
  38. package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +1 -1
  39. package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +1 -1
  40. package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +3 -3
  41. package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +2 -2
  42. package/dist/client-analytics/model/getUsersCountResponse.d.ts +2 -2
  43. package/dist/client-analytics/model/noClickRateEvent.d.ts +4 -4
  44. package/dist/client-analytics/model/noResultsRateEvent.d.ts +4 -4
  45. package/dist/client-analytics/model/orderBy.d.ts +3 -0
  46. package/dist/client-analytics/model/orderBy.d.ts.map +1 -1
  47. package/dist/client-analytics/model/searchEvent.d.ts +2 -2
  48. package/dist/client-analytics/model/searchNoClickEvent.d.ts +3 -3
  49. package/dist/client-analytics/model/searchNoResultEvent.d.ts +3 -3
  50. package/dist/client-analytics/model/topCountry.d.ts +2 -2
  51. package/dist/client-analytics/model/topHit.d.ts +2 -2
  52. package/dist/client-analytics/model/topHitWithAnalytics.d.ts +7 -7
  53. package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
  54. package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
  55. package/dist/client-analytics/model/topSearch.d.ts +3 -3
  56. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +9 -9
  57. package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
  58. package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
  59. package/dist/client-analytics/model/userWithDate.d.ts +2 -2
  60. package/dist/client-analytics/src/analyticsClient.d.ts +114 -114
  61. package/dist/client-personalization/model/clientMethodProps.d.ts +10 -10
  62. package/dist/client-personalization/src/personalizationClient.d.ts +11 -11
  63. package/dist/client-search/model/acl.d.ts +1 -1
  64. package/dist/client-search/model/action.d.ts +1 -1
  65. package/dist/client-search/model/addApiKeyResponse.d.ts +2 -2
  66. package/dist/client-search/model/anchoring.d.ts +1 -1
  67. package/dist/client-search/model/apiKey.d.ts +9 -9
  68. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  69. package/dist/client-search/model/assignUserIdParams.d.ts +1 -1
  70. package/dist/client-search/model/baseGetApiKeyResponse.d.ts +2 -2
  71. package/dist/client-search/model/baseIndexSettings.d.ts +14 -14
  72. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  73. package/dist/client-search/model/baseSearchResponse.d.ts +20 -20
  74. package/dist/client-search/model/baseSearchResponseRedirect.d.ts +1 -1
  75. package/dist/client-search/model/batchAssignUserIdsParams.d.ts +2 -2
  76. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  77. package/dist/client-search/model/batchParams.d.ts +1 -1
  78. package/dist/client-search/model/batchRequest.d.ts +1 -1
  79. package/dist/client-search/model/batchResponse.d.ts +2 -2
  80. package/dist/client-search/model/batchWriteParams.d.ts +1 -1
  81. package/dist/client-search/model/builtInOperation.d.ts +1 -1
  82. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  83. package/dist/client-search/model/clientMethodProps.d.ts +88 -84
  84. package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
  85. package/dist/client-search/model/consequence.d.ts +4 -4
  86. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  87. package/dist/client-search/model/createdAtResponse.d.ts +2 -2
  88. package/dist/client-search/model/cursor.d.ts +1 -1
  89. package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
  90. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  91. package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
  92. package/dist/client-search/model/deletedAtResponse.d.ts +3 -3
  93. package/dist/client-search/model/dictionaryEntry.d.ts +6 -6
  94. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  95. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  96. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  97. package/dist/client-search/model/distinct.d.ts +1 -1
  98. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  99. package/dist/client-search/model/facetFilters.d.ts +1 -1
  100. package/dist/client-search/model/facetHits.d.ts +3 -3
  101. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  102. package/dist/client-search/model/facets.d.ts +1 -1
  103. package/dist/client-search/model/facetsStats.d.ts +4 -4
  104. package/dist/client-search/model/fetchedIndex.d.ts +1 -1
  105. package/dist/client-search/model/getObjectsParams.d.ts +1 -1
  106. package/dist/client-search/model/getObjectsRequest.d.ts +4 -4
  107. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  108. package/dist/client-search/model/getTopUserIdsResponse.d.ts +2 -2
  109. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +2 -2
  110. package/dist/client-search/model/highlightResultOption.d.ts +1 -1
  111. package/dist/client-search/model/hit.d.ts +1 -1
  112. package/dist/client-search/model/ignorePlurals.d.ts +1 -1
  113. package/dist/client-search/model/index.d.ts +1 -0
  114. package/dist/client-search/model/index.d.ts.map +1 -1
  115. package/dist/client-search/model/indexSettings.d.ts +1 -1
  116. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
  117. package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  118. package/dist/client-search/model/languages.d.ts +1 -1
  119. package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
  120. package/dist/client-search/model/listClustersResponse.d.ts +2 -2
  121. package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
  122. package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
  123. package/dist/client-search/model/log.d.ts +7 -7
  124. package/dist/client-search/model/logQuery.d.ts +1 -1
  125. package/dist/client-search/model/mode.d.ts +1 -1
  126. package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
  127. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  128. package/dist/client-search/model/numericFilters.d.ts +1 -1
  129. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  130. package/dist/client-search/model/operationType.d.ts +1 -1
  131. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  132. package/dist/client-search/model/params.d.ts +1 -1
  133. package/dist/client-search/model/promoteObjectID.d.ts +3 -3
  134. package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
  135. package/dist/client-search/model/queryType.d.ts +1 -1
  136. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  137. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
  138. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
  139. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  140. package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
  141. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  142. package/dist/client-search/model/renderingContent.d.ts +1 -1
  143. package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
  144. package/dist/client-search/model/rule.d.ts +5 -5
  145. package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
  146. package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
  147. package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
  148. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
  149. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
  150. package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
  151. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  152. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  153. package/dist/client-search/model/searchParamsString.d.ts +1 -1
  154. package/dist/client-search/model/searchResponses.d.ts +2 -2
  155. package/dist/client-search/model/searchResponses.d.ts.map +1 -1
  156. package/dist/client-search/model/searchResult.d.ts +4 -0
  157. package/dist/client-search/model/searchResult.d.ts.map +1 -0
  158. package/dist/client-search/model/searchRulesParams.d.ts +7 -7
  159. package/dist/client-search/model/searchStrategy.d.ts +3 -0
  160. package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
  161. package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
  162. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  163. package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
  164. package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
  165. package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
  166. package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
  167. package/dist/client-search/model/snippetResultOption.d.ts +1 -1
  168. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  169. package/dist/client-search/model/source.d.ts +3 -3
  170. package/dist/client-search/model/standardEntries.d.ts +4 -4
  171. package/dist/client-search/model/synonymHit.d.ts +6 -6
  172. package/dist/client-search/model/synonymType.d.ts +1 -1
  173. package/dist/client-search/model/tagFilters.d.ts +1 -1
  174. package/dist/client-search/model/taskStatus.d.ts +3 -0
  175. package/dist/client-search/model/taskStatus.d.ts.map +1 -1
  176. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  177. package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
  178. package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
  179. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
  180. package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
  181. package/dist/client-search/model/userHit.d.ts +1 -1
  182. package/dist/client-search/model/userId.d.ts +2 -2
  183. package/dist/client-search/src/searchClient.d.ts +185 -184
  184. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  185. package/dist/lite/lite.cjs.js +6 -8
  186. package/dist/lite/lite.esm.browser.js +6 -6
  187. package/dist/lite/lite.esm.node.js +6 -6
  188. package/dist/lite/lite.umd.js +2 -2
  189. package/dist/lite/model/acl.d.ts +1 -1
  190. package/dist/lite/model/action.d.ts +1 -1
  191. package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
  192. package/dist/lite/model/anchoring.d.ts +1 -1
  193. package/dist/lite/model/apiKey.d.ts +9 -9
  194. package/dist/lite/model/aroundRadius.d.ts +1 -1
  195. package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
  196. package/dist/lite/model/baseIndexSettings.d.ts +14 -14
  197. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  198. package/dist/lite/model/baseSearchResponse.d.ts +20 -20
  199. package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
  200. package/dist/lite/model/builtInOperation.d.ts +1 -1
  201. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  202. package/dist/lite/model/clientMethodProps.d.ts +3 -3
  203. package/dist/lite/model/consequence.d.ts +4 -4
  204. package/dist/lite/model/consequenceHide.d.ts +2 -2
  205. package/dist/lite/model/cursor.d.ts +1 -1
  206. package/dist/lite/model/deleteByParams.d.ts +4 -4
  207. package/dist/lite/model/dictionaryEntry.d.ts +6 -6
  208. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  209. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  210. package/dist/lite/model/distinct.d.ts +1 -1
  211. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  212. package/dist/lite/model/facetFilters.d.ts +1 -1
  213. package/dist/lite/model/facetHits.d.ts +15 -0
  214. package/dist/lite/model/facetHits.d.ts.map +1 -0
  215. package/dist/lite/model/facetOrdering.d.ts +2 -2
  216. package/dist/lite/model/facets.d.ts +1 -1
  217. package/dist/lite/model/facetsStats.d.ts +4 -4
  218. package/dist/lite/model/fetchedIndex.d.ts +1 -1
  219. package/dist/lite/model/highlightResultOption.d.ts +1 -1
  220. package/dist/lite/model/hit.d.ts +1 -1
  221. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  222. package/dist/lite/model/index.d.ts +3 -0
  223. package/dist/lite/model/index.d.ts.map +1 -1
  224. package/dist/lite/model/indexSettings.d.ts +1 -1
  225. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
  226. package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  227. package/dist/lite/model/languages.d.ts +1 -1
  228. package/dist/lite/model/listIndicesResponse.d.ts +1 -1
  229. package/dist/lite/model/mode.d.ts +1 -1
  230. package/dist/lite/model/numericFilters.d.ts +1 -1
  231. package/dist/lite/model/operationType.d.ts +1 -1
  232. package/dist/lite/model/optionalFilters.d.ts +1 -1
  233. package/dist/lite/model/params.d.ts +1 -1
  234. package/dist/lite/model/promoteObjectID.d.ts +3 -3
  235. package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
  236. package/dist/lite/model/queryType.d.ts +1 -1
  237. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  238. package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
  239. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
  240. package/dist/lite/model/removeStopWords.d.ts +1 -1
  241. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  242. package/dist/lite/model/renderingContent.d.ts +1 -1
  243. package/dist/lite/model/rule.d.ts +5 -5
  244. package/dist/lite/model/searchForFacetValuesResponse.d.ts +5 -0
  245. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -0
  246. package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
  247. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  248. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  249. package/dist/lite/model/searchParamsString.d.ts +1 -1
  250. package/dist/lite/model/searchResponses.d.ts +2 -2
  251. package/dist/lite/model/searchResponses.d.ts.map +1 -1
  252. package/dist/lite/model/searchResult.d.ts +4 -0
  253. package/dist/lite/model/searchResult.d.ts.map +1 -0
  254. package/dist/lite/model/searchStrategy.d.ts +3 -0
  255. package/dist/lite/model/searchStrategy.d.ts.map +1 -1
  256. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  257. package/dist/lite/model/searchTypeDefault.d.ts +1 -1
  258. package/dist/lite/model/searchTypeFacet.d.ts +1 -1
  259. package/dist/lite/model/snippetResultOption.d.ts +1 -1
  260. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  261. package/dist/lite/model/source.d.ts +3 -3
  262. package/dist/lite/model/standardEntries.d.ts +4 -4
  263. package/dist/lite/model/synonymHit.d.ts +6 -6
  264. package/dist/lite/model/synonymType.d.ts +1 -1
  265. package/dist/lite/model/tagFilters.d.ts +1 -1
  266. package/dist/lite/model/taskStatus.d.ts +3 -0
  267. package/dist/lite/model/taskStatus.d.ts.map +1 -1
  268. package/dist/lite/model/typoTolerance.d.ts +1 -1
  269. package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
  270. package/dist/lite/model/userId.d.ts +2 -2
  271. package/dist/lite/src/liteClient.d.ts +6 -6
  272. package/lite/model/acl.ts +1 -1
  273. package/lite/model/action.ts +1 -1
  274. package/lite/model/addApiKeyResponse.ts +2 -2
  275. package/lite/model/anchoring.ts +1 -1
  276. package/lite/model/apiKey.ts +9 -9
  277. package/lite/model/aroundRadius.ts +1 -1
  278. package/lite/model/baseGetApiKeyResponse.ts +2 -2
  279. package/lite/model/baseIndexSettings.ts +14 -14
  280. package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
  281. package/lite/model/baseSearchResponse.ts +20 -20
  282. package/lite/model/baseSearchResponseRedirect.ts +1 -1
  283. package/lite/model/builtInOperation.ts +1 -1
  284. package/lite/model/builtInOperationType.ts +1 -1
  285. package/lite/model/clientMethodProps.ts +3 -3
  286. package/lite/model/consequence.ts +4 -4
  287. package/lite/model/consequenceHide.ts +2 -2
  288. package/lite/model/cursor.ts +1 -1
  289. package/lite/model/deleteByParams.ts +4 -4
  290. package/lite/model/dictionaryEntry.ts +6 -6
  291. package/lite/model/dictionaryEntryState.ts +1 -1
  292. package/lite/model/dictionaryLanguage.ts +2 -2
  293. package/lite/model/distinct.ts +1 -1
  294. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  295. package/lite/model/facetFilters.ts +1 -1
  296. package/lite/model/facetHits.ts +18 -0
  297. package/lite/model/facetOrdering.ts +2 -2
  298. package/lite/model/facets.ts +1 -1
  299. package/lite/model/facetsStats.ts +4 -4
  300. package/lite/model/fetchedIndex.ts +1 -1
  301. package/lite/model/highlightResultOption.ts +1 -1
  302. package/lite/model/hit.ts +1 -1
  303. package/lite/model/ignorePlurals.ts +1 -1
  304. package/lite/model/index.ts +3 -0
  305. package/lite/model/indexSettings.ts +1 -1
  306. package/lite/model/indexSettingsAsSearchParams.ts +30 -30
  307. package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  308. package/lite/model/languages.ts +1 -1
  309. package/lite/model/listIndicesResponse.ts +1 -1
  310. package/lite/model/mode.ts +1 -1
  311. package/lite/model/numericFilters.ts +1 -1
  312. package/lite/model/operationType.ts +1 -1
  313. package/lite/model/optionalFilters.ts +1 -1
  314. package/lite/model/params.ts +1 -1
  315. package/lite/model/promoteObjectID.ts +3 -3
  316. package/lite/model/promoteObjectIDs.ts +3 -3
  317. package/lite/model/queryType.ts +1 -1
  318. package/lite/model/reRankingApplyFilter.ts +1 -1
  319. package/lite/model/redirectRuleIndexMetadata.ts +1 -1
  320. package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
  321. package/lite/model/removeStopWords.ts +1 -1
  322. package/lite/model/removeWordsIfNoResults.ts +1 -1
  323. package/lite/model/renderingContent.ts +1 -1
  324. package/lite/model/rule.ts +5 -5
  325. package/lite/model/searchForFacetValuesResponse.ts +7 -0
  326. package/lite/model/searchForFacetsOptions.ts +3 -3
  327. package/lite/model/searchForHitsOptions.ts +1 -1
  328. package/lite/model/searchParamsQuery.ts +1 -1
  329. package/lite/model/searchParamsString.ts +1 -1
  330. package/lite/model/searchResponses.ts +2 -2
  331. package/lite/model/searchResult.ts +8 -0
  332. package/lite/model/searchStrategy.ts +3 -0
  333. package/lite/model/searchSynonymsResponse.ts +2 -2
  334. package/lite/model/searchTypeDefault.ts +1 -1
  335. package/lite/model/searchTypeFacet.ts +1 -1
  336. package/lite/model/snippetResultOption.ts +1 -1
  337. package/lite/model/sortRemainingBy.ts +1 -1
  338. package/lite/model/source.ts +3 -3
  339. package/lite/model/standardEntries.ts +4 -4
  340. package/lite/model/synonymHit.ts +6 -6
  341. package/lite/model/synonymType.ts +1 -1
  342. package/lite/model/tagFilters.ts +1 -1
  343. package/lite/model/taskStatus.ts +3 -0
  344. package/lite/model/typoTolerance.ts +1 -1
  345. package/lite/model/updatedRuleResponse.ts +3 -3
  346. package/lite/model/userId.ts +2 -2
  347. package/lite/src/liteClient.ts +6 -6
  348. package/package.json +15 -14
@@ -4,20 +4,20 @@ import type { SynonymType } from './synonymType';
4
4
  */
5
5
  export type SynonymHit = {
6
6
  /**
7
- * Unique identifier of the synonym object to be created or updated.
7
+ * Unique identifier of a synonym object.
8
8
  */
9
9
  objectID: string;
10
10
  type: SynonymType;
11
11
  /**
12
- * Words or phrases to be considered equivalent.
12
+ * Words or phrases considered equivalent.
13
13
  */
14
14
  synonyms?: string[];
15
15
  /**
16
- * Word or phrase to appear in query strings (for onewaysynonym).
16
+ * Word or phrase to appear in query strings (for [`onewaysynonym`s](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/one-way-synonyms/)).
17
17
  */
18
18
  input?: string;
19
19
  /**
20
- * Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
20
+ * Word or phrase to appear in query strings (for [`altcorrection1` and `altcorrection2`](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-alternative-corrections/)).
21
21
  */
22
22
  word?: string;
23
23
  /**
@@ -25,11 +25,11 @@ export type SynonymHit = {
25
25
  */
26
26
  corrections?: string[];
27
27
  /**
28
- * Token to be put inside records.
28
+ * [Placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/) to be put inside records.
29
29
  */
30
30
  placeholder?: string;
31
31
  /**
32
- * List of query words that will match the token.
32
+ * Query words that will match the [placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/).
33
33
  */
34
34
  replacements?: string[];
35
35
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type of the synonym object.
2
+ * Synonym type.
3
3
  */
4
4
  export type SynonymType = 'altcorrection1' | 'altcorrection2' | 'onewaysynonym' | 'placeholder' | 'synonym';
5
5
  //# sourceMappingURL=synonymType.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
3
- * Filter hits by tags.
3
+ * [Filter hits by tags](https://www.algolia.com/doc/api-reference/api-parameters/tagFilters/).
4
4
  */
5
5
  export type TagFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=tagFilters.d.ts.map
@@ -1,2 +1,5 @@
1
+ /**
2
+ * _published_ if the task has been processed, _notPublished_ otherwise.
3
+ */
1
4
  export type TaskStatus = 'notPublished' | 'published';
2
5
  //# sourceMappingURL=taskStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"taskStatus.d.ts","sourceRoot":"","sources":["../../../lite/model/taskStatus.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"taskStatus.d.ts","sourceRoot":"","sources":["../../../lite/model/taskStatus.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,WAAW,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { TypoToleranceEnum } from './typoToleranceEnum';
2
2
  /**
3
- * Controls whether typo tolerance is enabled and how it is applied.
3
+ * Controls whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied.
4
4
  */
5
5
  export type TypoTolerance = TypoToleranceEnum | boolean;
6
6
  //# sourceMappingURL=typoTolerance.d.ts.map
@@ -1,14 +1,14 @@
1
1
  export type UpdatedRuleResponse = {
2
2
  /**
3
- * Unique identifier of the object.
3
+ * Unique object identifier.
4
4
  */
5
5
  objectID: string;
6
6
  /**
7
- * Date of last update (ISO-8601 format).
7
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
8
8
  */
9
9
  updatedAt: string;
10
10
  /**
11
- * TaskID of the task to wait for.
11
+ * Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the `task` operation and this `taskID`.
12
12
  */
13
13
  taskID: number;
14
14
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A userID.
2
+ * Unique user ID.
3
3
  */
4
4
  export type UserId = {
5
5
  /**
@@ -7,7 +7,7 @@ export type UserId = {
7
7
  */
8
8
  userID: string;
9
9
  /**
10
- * Cluster on which the user is assigned.
10
+ * Cluster to which the user is assigned.
11
11
  */
12
12
  clusterName: string;
13
13
  /**
@@ -2,7 +2,7 @@ import type { CreateClientOptions, RequestOptions } from '@algolia/client-common
2
2
  import type { PostProps, LegacySearchMethodProps } from '../model/clientMethodProps';
3
3
  import type { SearchMethodParams } from '../model/searchMethodParams';
4
4
  import type { SearchResponses } from '../model/searchResponses';
5
- export declare const apiClientVersion = "5.0.0-alpha.73";
5
+ export declare const apiClientVersion = "5.0.0-alpha.76";
6
6
  export declare function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
7
7
  transporter: import("@algolia/client-common").Transporter;
8
8
  /**
@@ -29,17 +29,17 @@ export declare function createLiteClient({ appId: appIdOption, apiKey: apiKeyOpt
29
29
  *
30
30
  * @summary Send requests to the Algolia REST API.
31
31
  * @param post - The post object.
32
- * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
33
- * @param post.parameters - Query parameters to be applied to the current query.
34
- * @param post.body - The parameters to send with the custom request.
32
+ * @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
33
+ * @param post.parameters - Query parameters to apply to the current query.
34
+ * @param post.body - Parameters to send with the custom request.
35
35
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
36
36
  */
37
37
  post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
38
38
  /**
39
- * Perform a search operation targeting one or many indices.
39
+ * Send multiple search queries to one or more indices.
40
40
  *
41
41
  * @summary Search multiple indices.
42
- * @param searchMethodParams - The `search` requests and strategy.
42
+ * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
43
43
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
44
44
  */
45
45
  search<T>(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses<T>>;
package/lite/model/acl.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // 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.
2
2
 
3
3
  /**
4
- * List of rights for the API key. The following rights can be used: addObject: allows to add/update an object in the index (copy/move index are also allowed with this right). Analytics: allows to retrieve the analytics through the Analytics API. Browse: allows to retrieve all index content via the browse API. DeleteIndex: allows to delete or clear index content. DeleteObject: allows to delete objects from the index. EditSettings: allows to change index settings. ListIndexes: allows to list all accessible indices. Logs: allows to get the logs. Recommendation: Allows usage of the Personalization dashboard and the Recommendation API. Search: allows to search the index. SeeUnretrievableAttributes: disable unretrievableAttributes feature for all operations returning records. Settings: allows to get index settings.
4
+ * API key permissions: `addObject`: required to add or update records, copy or move an index. `analytics`: required to access the Analytics API. `browse`: required to view records `deleteIndex`: required to delete indices. `deleteObject`: required to delete records. `editSettings`: required to change index settings. `listIndexes`: required to list indices. `logs`: required to access logs of search and indexing operations. `recommendation`: required to access the Personalization and Recommend APIs. `search`: required to search records `seeUnretrievableAttributes`: required to retrieve [`unretrievableAttributes`](https://www.algolia.com/doc/api-reference/api-parameters/unretrievableAttributes/) for all operations that return records. `settings`: required to examine index settings.
5
5
  */
6
6
  export type Acl =
7
7
  | 'addObject'
@@ -1,7 +1,7 @@
1
1
  // 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.
2
2
 
3
3
  /**
4
- * Type of operation.
4
+ * Type of batch operation.
5
5
  */
6
6
  export type Action =
7
7
  | 'addObject'
@@ -2,12 +2,12 @@
2
2
 
3
3
  export type AddApiKeyResponse = {
4
4
  /**
5
- * The API key.
5
+ * API key.
6
6
  */
7
7
  key: string;
8
8
 
9
9
  /**
10
- * Date of creation (ISO-8601 format).
10
+ * Timestamp of creation in [ISO-8601](https://wikipedia.org/wiki/ISO_8601) format.
11
11
  */
12
12
  createdAt: string;
13
13
  };
@@ -1,6 +1,6 @@
1
1
  // 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.
2
2
 
3
3
  /**
4
- * Whether the pattern parameter must match the beginning or the end of the query string, or both, or none.
4
+ * Whether the pattern parameter matches the beginning (`startsWith`) or end (`endsWith`) of the query string, is an exact match (`is`), or a partial match (`contains`).
5
5
  */
6
6
  export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
@@ -3,46 +3,46 @@
3
3
  import type { Acl } from './acl';
4
4
 
5
5
  /**
6
- * Api Key object.
6
+ * API key object.
7
7
  */
8
8
  export type ApiKey = {
9
9
  /**
10
- * Set of permissions associated with the key.
10
+ * [Permissions](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl) associated with the key.
11
11
  */
12
12
  acl: Acl[];
13
13
 
14
14
  /**
15
- * A comment used to identify a key more easily in the dashboard. It is not interpreted by the API.
15
+ * Description of an API key for you and your team members.
16
16
  */
17
17
  description?: string;
18
18
 
19
19
  /**
20
- * Restrict this new API key to a list of indices or index patterns. If the list is empty, all indices are allowed.
20
+ * Restricts this API key to a list of indices or index patterns. If the list is empty, all indices are allowed. Specify either an exact index name or a pattern with a leading or trailing wildcard character (or both). For example: - `dev_*` matches all indices starting with \"dev_\" - `*_dev` matches all indices ending with \"_dev\" - `*_products_*` matches all indices containing \"_products_\".
21
21
  */
22
22
  indexes?: string[];
23
23
 
24
24
  /**
25
- * Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced.
25
+ * Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced. > **Note**: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.
26
26
  */
27
27
  maxHitsPerQuery?: number;
28
28
 
29
29
  /**
30
- * Maximum number of API calls per hour allowed from a given IP address or a user token.
30
+ * Maximum number of API calls per hour allowed from a given IP address or [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/). Each time an API call is performed with this key, a check is performed. If there were more than the specified number of calls within the last hour, the API returns an error with the status code `429` (Too Many Requests). > **Note**: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.
31
31
  */
32
32
  maxQueriesPerIPPerHour?: number;
33
33
 
34
34
  /**
35
- * URL-encoded query string. Force some query parameters to be applied for each query made with this API key.
35
+ * Force some [query parameters](https://www.algolia.com/doc/api-reference/api-parameters/) to be applied for each query made with this API key. It\'s a URL-encoded query string.
36
36
  */
37
37
  queryParameters?: string;
38
38
 
39
39
  /**
40
- * Restrict this new API key to specific referers. If empty or blank, defaults to all referers.
40
+ * Restrict this API key to specific [referrers](https://www.algolia.com/doc/guides/security/api-keys/in-depth/api-key-restrictions/#http-referrers). If empty, all referrers are allowed. For example: - `https://algolia.com/_*` matches all referrers starting with \"https://algolia.com/\" - `*.algolia.com` matches all referrers ending with \".algolia.com\" - `*algolia.com*` allows everything in the domain \"algolia.com\".
41
41
  */
42
42
  referers?: string[];
43
43
 
44
44
  /**
45
- * Validity limit for this key in seconds. The key will automatically be removed after this period of time.
45
+ * Validity duration of a key (in seconds). The key will automatically be removed after this time has expired. The default value of 0 never expires. Short-lived API keys are useful to grant temporary access to your data. For example, in mobile apps, you can\'t [control when users update your app](https://www.algolia.com/doc/guides/security/security-best-practices/#use-secured-api-keys-in-mobile-apps). So instead of encoding keys into your app as you would for a web app, you should dynamically fetch them from your mobile app\'s backend.
46
46
  */
47
47
  validity?: number;
48
48
  };
@@ -3,6 +3,6 @@
3
3
  import type { AroundRadiusAll } from './aroundRadiusAll';
4
4
 
5
5
  /**
6
- * Define the maximum radius for a geo search (in meters).
6
+ * [Maximum radius](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#increase-the-search-radius) for a geographical search (in meters).
7
7
  */
8
8
  export type AroundRadius = AroundRadiusAll | number;
@@ -2,12 +2,12 @@
2
2
 
3
3
  export type BaseGetApiKeyResponse = {
4
4
  /**
5
- * The API key.
5
+ * API key.
6
6
  */
7
7
  value?: string;
8
8
 
9
9
  /**
10
- * Time of the event expressed in milliseconds since the Unix epoch.
10
+ * Timestamp of creation in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time).
11
11
  */
12
12
  createdAt: number;
13
13
  };
@@ -2,67 +2,67 @@
2
2
 
3
3
  export type BaseIndexSettings = {
4
4
  /**
5
- * Creates replicas, exact copies of an index.
5
+ * Creates [replicas](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/), which are copies of a primary index with the same records but different settings.
6
6
  */
7
7
  replicas?: string[];
8
8
 
9
9
  /**
10
- * Set the maximum number of hits accessible via pagination.
10
+ * Maximum number of hits accessible through pagination.
11
11
  */
12
12
  paginationLimitedTo?: number;
13
13
 
14
14
  /**
15
- * List of attributes that can\'t be retrieved at query time.
15
+ * Attributes that can\'t be retrieved at query time.
16
16
  */
17
17
  unretrievableAttributes?: string[];
18
18
 
19
19
  /**
20
- * A list of words for which you want to turn off typo tolerance.
20
+ * Words for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
21
21
  */
22
22
  disableTypoToleranceOnWords?: string[];
23
23
 
24
24
  /**
25
- * Specify on which attributes in your index Algolia should apply Japanese transliteration to make words indexed in Katakana or Kanji searchable in Hiragana.
25
+ * Attributes in your index to which [Japanese transliteration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#japanese-transliteration-and-type-ahead) applies. This will ensure that words indexed in Katakana or Kanji can also be searched in Hiragana.
26
26
  */
27
27
  attributesToTransliterate?: string[];
28
28
 
29
29
  /**
30
- * List of attributes on which to do a decomposition of camel case words.
30
+ * Attributes on which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.
31
31
  */
32
32
  camelCaseAttributes?: string[];
33
33
 
34
34
  /**
35
- * Specify on which attributes in your index Algolia should apply word segmentation, also known as decompounding.
35
+ * Attributes in your index to which [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding) applies.
36
36
  */
37
37
  decompoundedAttributes?: Record<string, any>;
38
38
 
39
39
  /**
40
- * Sets the languages at the index level for language-specific processing such as tokenization and normalization.
40
+ * Set the languages of your index, for language-specific processing steps such as [tokenization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/tokenization/) and [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
41
41
  */
42
42
  indexLanguages?: string[];
43
43
 
44
44
  /**
45
- * List of attributes on which you want to disable prefix matching.
45
+ * Attributes for which you want to turn off [prefix matching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjusting-prefix-search).
46
46
  */
47
47
  disablePrefixOnAttributes?: string[];
48
48
 
49
49
  /**
50
- * Enables compression of large integer arrays.
50
+ * Incidates whether the engine compresses arrays with exclusively non-negative integers. When enabled, the compressed arrays may be reordered.
51
51
  */
52
52
  allowCompressionOfIntegerArray?: boolean;
53
53
 
54
54
  /**
55
- * List of numeric attributes that can be used as numerical filters.
55
+ * Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
56
56
  */
57
57
  numericAttributesForFiltering?: string[];
58
58
 
59
59
  /**
60
- * Control which separators are indexed.
60
+ * Controls which separators are added to an Algolia index as part of [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean). Separators are all non-letter characters except spaces and currency characters, such as $€£¥.
61
61
  */
62
62
  separatorsToIndex?: string;
63
63
 
64
64
  /**
65
- * The complete list of attributes used for searching.
65
+ * [Attributes used for searching](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/), including determining [if matches at the beginning of a word are important (ordered) or not (unordered)](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/how-to/configuring-searchable-attributes-the-right-way/#understanding-word-position).
66
66
  */
67
67
  searchableAttributes?: string[];
68
68
 
@@ -72,7 +72,7 @@ export type BaseIndexSettings = {
72
72
  userData?: Record<string, any>;
73
73
 
74
74
  /**
75
- * Overrides Algolia\'s default normalization.
75
+ * A list of characters and their normalized replacements to override Algolia\'s default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
76
76
  */
77
77
  customNormalization?: Record<string, Record<string, string>>;
78
78
  };
@@ -9,12 +9,12 @@ import type { TagFilters } from './tagFilters';
9
9
 
10
10
  export type BaseSearchParamsWithoutQuery = {
11
11
  /**
12
- * Overrides the query parameter and performs a more generic search that can be used to find \"similar\" results.
12
+ * Overrides the query parameter and performs a more generic search.
13
13
  */
14
14
  similarQuery?: string;
15
15
 
16
16
  /**
17
- * Filter the query with numeric, facet and/or tag filters.
17
+ * [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
18
18
  */
19
19
  filters?: string;
20
20
 
@@ -27,22 +27,22 @@ export type BaseSearchParamsWithoutQuery = {
27
27
  tagFilters?: TagFilters;
28
28
 
29
29
  /**
30
- * Determines how to calculate the total score for filtering.
30
+ * Determines how to calculate [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores). If `false`, maximum score is kept. If `true`, score is summed.
31
31
  */
32
32
  sumOrFiltersScores?: boolean;
33
33
 
34
34
  /**
35
- * Retrieve facets and their facet values.
35
+ * Returns [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts), their facet values, and the number of matching facet values.
36
36
  */
37
37
  facets?: string[];
38
38
 
39
39
  /**
40
- * Maximum number of facet values to return for each facet during a regular search.
40
+ * Maximum number of facet values to return for each facet.
41
41
  */
42
42
  maxValuesPerFacet?: number;
43
43
 
44
44
  /**
45
- * Force faceting to be applied after de-duplication (via the Distinct setting).
45
+ * Forces faceting to be applied after [de-duplication](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/) (with the distinct feature). Alternatively, the `afterDistinct` [modifier](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) of `attributesForFaceting` allows for more granular control.
46
46
  */
47
47
  facetingAfterDistinct?: boolean;
48
48
 
@@ -52,89 +52,89 @@ export type BaseSearchParamsWithoutQuery = {
52
52
  sortFacetValuesBy?: string;
53
53
 
54
54
  /**
55
- * Specify the page to retrieve.
55
+ * Page to retrieve (the first page is `0`, not `1`).
56
56
  */
57
57
  page?: number;
58
58
 
59
59
  /**
60
- * Specify the offset of the first hit to return.
60
+ * Specifies the offset of the first hit to return. > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length).
61
61
  */
62
62
  offset?: number;
63
63
 
64
64
  /**
65
- * Set the number of hits to retrieve (used only with offset).
65
+ * Sets the number of hits to retrieve (for use with `offset`). > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length).
66
66
  */
67
67
  length?: number;
68
68
 
69
69
  /**
70
- * Search for entries around a central geolocation, enabling a geo search within a circular area.
70
+ * Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area.
71
71
  */
72
72
  aroundLatLng?: string;
73
73
 
74
74
  /**
75
- * Search for entries around a given location automatically computed from the requester\'s IP address.
75
+ * Search for entries around a location. The location is automatically computed from the requester\'s IP address.
76
76
  */
77
77
  aroundLatLngViaIP?: boolean;
78
78
 
79
79
  aroundRadius?: AroundRadius;
80
80
 
81
81
  /**
82
- * Precision of geo search (in meters), to add grouping by geo location to the ranking formula.
82
+ * Precision of a geographical search (in meters), to [group results that are more or less the same distance from a central point](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/in-depth/geo-ranking-precision/).
83
83
  */
84
84
  aroundPrecision?: number;
85
85
 
86
86
  /**
87
- * Minimum radius (in meters) used for a geo search when aroundRadius is not set.
87
+ * Minimum radius (in meters) used for a geographical search when `aroundRadius` isn\'t set.
88
88
  */
89
89
  minimumAroundRadius?: number;
90
90
 
91
91
  /**
92
- * Search inside a rectangular area (in geo coordinates).
92
+ * Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
93
93
  */
94
94
  insideBoundingBox?: number[];
95
95
 
96
96
  /**
97
- * Search inside a polygon (in geo coordinates).
97
+ * Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
98
98
  */
99
99
  insidePolygon?: number[];
100
100
 
101
101
  /**
102
- * This parameter changes the default values of certain parameters and settings that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags and ruleContexts. These parameters and settings work well together when the query is formatted in natural language instead of keywords, for example when your user performs a voice search.
102
+ * Changes the default values of parameters that work best for a natural language query, such as `ignorePlurals`, `removeStopWords`, `removeWordsIfNoResults`, `analyticsTags`, and `ruleContexts`. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.
103
103
  */
104
104
  naturalLanguages?: string[];
105
105
 
106
106
  /**
107
- * Enables contextual rules.
107
+ * Assigns [rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) to search queries.
108
108
  */
109
109
  ruleContexts?: string[];
110
110
 
111
111
  /**
112
- * Define the impact of the Personalization feature.
112
+ * Defines how much [Personalization affects results](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
113
113
  */
114
114
  personalizationImpact?: number;
115
115
 
116
116
  /**
117
- * Associates a certain user token with the current search.
117
+ * Associates a [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/) with the current search.
118
118
  */
119
119
  userToken?: string;
120
120
 
121
121
  /**
122
- * Retrieve detailed ranking information.
122
+ * Incidates whether the search response includes [detailed ranking information](https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/understanding-the-api-response/#ranking-information).
123
123
  */
124
124
  getRankingInfo?: boolean;
125
125
 
126
126
  /**
127
- * Enable the Click Analytics feature.
127
+ * Indicates whether a query ID parameter is included in the search response. This is required for [tracking click and conversion events](https://www.algolia.com/doc/guides/sending-events/concepts/event-types/#events-related-to-algolia-requests).
128
128
  */
129
129
  clickAnalytics?: boolean;
130
130
 
131
131
  /**
132
- * Whether the current query will be taken into account in the Analytics.
132
+ * Indicates whether this query will be included in [analytics](https://www.algolia.com/doc/guides/search-analytics/guides/exclude-queries/).
133
133
  */
134
134
  analytics?: boolean;
135
135
 
136
136
  /**
137
- * List of tags to apply to the query for analytics purposes.
137
+ * Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
138
138
  */
139
139
  analyticsTags?: string[];
140
140
 
@@ -144,12 +144,12 @@ export type BaseSearchParamsWithoutQuery = {
144
144
  percentileComputation?: boolean;
145
145
 
146
146
  /**
147
- * Whether this search should participate in running AB tests.
147
+ * Incidates whether this search will be considered in A/B testing.
148
148
  */
149
149
  enableABTest?: boolean;
150
150
 
151
151
  /**
152
- * Whether this search should use AI Re-Ranking.
152
+ * Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
153
153
  */
154
154
  enableReRanking?: boolean;
155
155