algoliasearch 5.0.0-alpha.73 → 5.0.0-alpha.75

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 (327) 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/indexSettings.d.ts +1 -1
  114. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
  115. package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  116. package/dist/client-search/model/languages.d.ts +1 -1
  117. package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
  118. package/dist/client-search/model/listClustersResponse.d.ts +2 -2
  119. package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
  120. package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
  121. package/dist/client-search/model/log.d.ts +7 -7
  122. package/dist/client-search/model/logQuery.d.ts +1 -1
  123. package/dist/client-search/model/mode.d.ts +1 -1
  124. package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
  125. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  126. package/dist/client-search/model/numericFilters.d.ts +1 -1
  127. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  128. package/dist/client-search/model/operationType.d.ts +1 -1
  129. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  130. package/dist/client-search/model/params.d.ts +1 -1
  131. package/dist/client-search/model/promoteObjectID.d.ts +3 -3
  132. package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
  133. package/dist/client-search/model/queryType.d.ts +1 -1
  134. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  135. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
  136. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
  137. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  138. package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
  139. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  140. package/dist/client-search/model/renderingContent.d.ts +1 -1
  141. package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
  142. package/dist/client-search/model/rule.d.ts +5 -5
  143. package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
  144. package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
  145. package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
  146. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
  147. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
  148. package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
  149. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  150. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  151. package/dist/client-search/model/searchParamsString.d.ts +1 -1
  152. package/dist/client-search/model/searchRulesParams.d.ts +7 -7
  153. package/dist/client-search/model/searchStrategy.d.ts +3 -0
  154. package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
  155. package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
  156. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  157. package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
  158. package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
  159. package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
  160. package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
  161. package/dist/client-search/model/snippetResultOption.d.ts +1 -1
  162. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  163. package/dist/client-search/model/source.d.ts +3 -3
  164. package/dist/client-search/model/standardEntries.d.ts +4 -4
  165. package/dist/client-search/model/synonymHit.d.ts +6 -6
  166. package/dist/client-search/model/synonymType.d.ts +1 -1
  167. package/dist/client-search/model/tagFilters.d.ts +1 -1
  168. package/dist/client-search/model/taskStatus.d.ts +3 -0
  169. package/dist/client-search/model/taskStatus.d.ts.map +1 -1
  170. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  171. package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
  172. package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
  173. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
  174. package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
  175. package/dist/client-search/model/userHit.d.ts +1 -1
  176. package/dist/client-search/model/userId.d.ts +2 -2
  177. package/dist/client-search/src/searchClient.d.ts +185 -184
  178. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  179. package/dist/lite/lite.cjs.js +6 -8
  180. package/dist/lite/lite.esm.browser.js +6 -6
  181. package/dist/lite/lite.esm.node.js +6 -6
  182. package/dist/lite/lite.umd.js +2 -2
  183. package/dist/lite/model/acl.d.ts +1 -1
  184. package/dist/lite/model/action.d.ts +1 -1
  185. package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
  186. package/dist/lite/model/anchoring.d.ts +1 -1
  187. package/dist/lite/model/apiKey.d.ts +9 -9
  188. package/dist/lite/model/aroundRadius.d.ts +1 -1
  189. package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
  190. package/dist/lite/model/baseIndexSettings.d.ts +14 -14
  191. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  192. package/dist/lite/model/baseSearchResponse.d.ts +20 -20
  193. package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
  194. package/dist/lite/model/builtInOperation.d.ts +1 -1
  195. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  196. package/dist/lite/model/clientMethodProps.d.ts +3 -3
  197. package/dist/lite/model/consequence.d.ts +4 -4
  198. package/dist/lite/model/consequenceHide.d.ts +2 -2
  199. package/dist/lite/model/cursor.d.ts +1 -1
  200. package/dist/lite/model/deleteByParams.d.ts +4 -4
  201. package/dist/lite/model/dictionaryEntry.d.ts +6 -6
  202. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  203. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  204. package/dist/lite/model/distinct.d.ts +1 -1
  205. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  206. package/dist/lite/model/facetFilters.d.ts +1 -1
  207. package/dist/lite/model/facetOrdering.d.ts +2 -2
  208. package/dist/lite/model/facets.d.ts +1 -1
  209. package/dist/lite/model/facetsStats.d.ts +4 -4
  210. package/dist/lite/model/fetchedIndex.d.ts +1 -1
  211. package/dist/lite/model/highlightResultOption.d.ts +1 -1
  212. package/dist/lite/model/hit.d.ts +1 -1
  213. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  214. package/dist/lite/model/indexSettings.d.ts +1 -1
  215. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
  216. package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  217. package/dist/lite/model/languages.d.ts +1 -1
  218. package/dist/lite/model/listIndicesResponse.d.ts +1 -1
  219. package/dist/lite/model/mode.d.ts +1 -1
  220. package/dist/lite/model/numericFilters.d.ts +1 -1
  221. package/dist/lite/model/operationType.d.ts +1 -1
  222. package/dist/lite/model/optionalFilters.d.ts +1 -1
  223. package/dist/lite/model/params.d.ts +1 -1
  224. package/dist/lite/model/promoteObjectID.d.ts +3 -3
  225. package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
  226. package/dist/lite/model/queryType.d.ts +1 -1
  227. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  228. package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
  229. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
  230. package/dist/lite/model/removeStopWords.d.ts +1 -1
  231. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  232. package/dist/lite/model/renderingContent.d.ts +1 -1
  233. package/dist/lite/model/rule.d.ts +5 -5
  234. package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
  235. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  236. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  237. package/dist/lite/model/searchParamsString.d.ts +1 -1
  238. package/dist/lite/model/searchStrategy.d.ts +3 -0
  239. package/dist/lite/model/searchStrategy.d.ts.map +1 -1
  240. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  241. package/dist/lite/model/searchTypeDefault.d.ts +1 -1
  242. package/dist/lite/model/searchTypeFacet.d.ts +1 -1
  243. package/dist/lite/model/snippetResultOption.d.ts +1 -1
  244. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  245. package/dist/lite/model/source.d.ts +3 -3
  246. package/dist/lite/model/standardEntries.d.ts +4 -4
  247. package/dist/lite/model/synonymHit.d.ts +6 -6
  248. package/dist/lite/model/synonymType.d.ts +1 -1
  249. package/dist/lite/model/tagFilters.d.ts +1 -1
  250. package/dist/lite/model/taskStatus.d.ts +3 -0
  251. package/dist/lite/model/taskStatus.d.ts.map +1 -1
  252. package/dist/lite/model/typoTolerance.d.ts +1 -1
  253. package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
  254. package/dist/lite/model/userId.d.ts +2 -2
  255. package/dist/lite/src/liteClient.d.ts +6 -6
  256. package/lite/model/acl.ts +1 -1
  257. package/lite/model/action.ts +1 -1
  258. package/lite/model/addApiKeyResponse.ts +2 -2
  259. package/lite/model/anchoring.ts +1 -1
  260. package/lite/model/apiKey.ts +9 -9
  261. package/lite/model/aroundRadius.ts +1 -1
  262. package/lite/model/baseGetApiKeyResponse.ts +2 -2
  263. package/lite/model/baseIndexSettings.ts +14 -14
  264. package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
  265. package/lite/model/baseSearchResponse.ts +20 -20
  266. package/lite/model/baseSearchResponseRedirect.ts +1 -1
  267. package/lite/model/builtInOperation.ts +1 -1
  268. package/lite/model/builtInOperationType.ts +1 -1
  269. package/lite/model/clientMethodProps.ts +3 -3
  270. package/lite/model/consequence.ts +4 -4
  271. package/lite/model/consequenceHide.ts +2 -2
  272. package/lite/model/cursor.ts +1 -1
  273. package/lite/model/deleteByParams.ts +4 -4
  274. package/lite/model/dictionaryEntry.ts +6 -6
  275. package/lite/model/dictionaryEntryState.ts +1 -1
  276. package/lite/model/dictionaryLanguage.ts +2 -2
  277. package/lite/model/distinct.ts +1 -1
  278. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  279. package/lite/model/facetFilters.ts +1 -1
  280. package/lite/model/facetOrdering.ts +2 -2
  281. package/lite/model/facets.ts +1 -1
  282. package/lite/model/facetsStats.ts +4 -4
  283. package/lite/model/fetchedIndex.ts +1 -1
  284. package/lite/model/highlightResultOption.ts +1 -1
  285. package/lite/model/hit.ts +1 -1
  286. package/lite/model/ignorePlurals.ts +1 -1
  287. package/lite/model/indexSettings.ts +1 -1
  288. package/lite/model/indexSettingsAsSearchParams.ts +30 -30
  289. package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  290. package/lite/model/languages.ts +1 -1
  291. package/lite/model/listIndicesResponse.ts +1 -1
  292. package/lite/model/mode.ts +1 -1
  293. package/lite/model/numericFilters.ts +1 -1
  294. package/lite/model/operationType.ts +1 -1
  295. package/lite/model/optionalFilters.ts +1 -1
  296. package/lite/model/params.ts +1 -1
  297. package/lite/model/promoteObjectID.ts +3 -3
  298. package/lite/model/promoteObjectIDs.ts +3 -3
  299. package/lite/model/queryType.ts +1 -1
  300. package/lite/model/reRankingApplyFilter.ts +1 -1
  301. package/lite/model/redirectRuleIndexMetadata.ts +1 -1
  302. package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
  303. package/lite/model/removeStopWords.ts +1 -1
  304. package/lite/model/removeWordsIfNoResults.ts +1 -1
  305. package/lite/model/renderingContent.ts +1 -1
  306. package/lite/model/rule.ts +5 -5
  307. package/lite/model/searchForFacetsOptions.ts +3 -3
  308. package/lite/model/searchForHitsOptions.ts +1 -1
  309. package/lite/model/searchParamsQuery.ts +1 -1
  310. package/lite/model/searchParamsString.ts +1 -1
  311. package/lite/model/searchStrategy.ts +3 -0
  312. package/lite/model/searchSynonymsResponse.ts +2 -2
  313. package/lite/model/searchTypeDefault.ts +1 -1
  314. package/lite/model/searchTypeFacet.ts +1 -1
  315. package/lite/model/snippetResultOption.ts +1 -1
  316. package/lite/model/sortRemainingBy.ts +1 -1
  317. package/lite/model/source.ts +3 -3
  318. package/lite/model/standardEntries.ts +4 -4
  319. package/lite/model/synonymHit.ts +6 -6
  320. package/lite/model/synonymType.ts +1 -1
  321. package/lite/model/tagFilters.ts +1 -1
  322. package/lite/model/taskStatus.ts +3 -0
  323. package/lite/model/typoTolerance.ts +1 -1
  324. package/lite/model/updatedRuleResponse.ts +3 -3
  325. package/lite/model/userId.ts +2 -2
  326. package/lite/src/liteClient.ts +6 -6
  327. package/package.json +15 -14
@@ -3,35 +3,35 @@ import type { FacetsStats } from './facetsStats';
3
3
  import type { RenderingContent } from './renderingContent';
4
4
  export type BaseSearchResponse = {
5
5
  /**
6
- * If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
6
+ * A/B test ID. This is only included in the response for indices that are part of an A/B test.
7
7
  */
8
8
  abTestID?: number;
9
9
  /**
10
- * If a search encounters an index that is being A/B tested, abTestVariantID reports the variant ID of the index used (starting at 1).
10
+ * Variant ID. This is only included in the response for indices that are part of an A/B test.
11
11
  */
12
12
  abTestVariantID?: number;
13
13
  /**
14
- * The computed geo location.
14
+ * Computed geographical location.
15
15
  */
16
16
  aroundLatLng?: string;
17
17
  /**
18
- * The automatically computed radius. For legacy reasons, this parameter is a string and not an integer.
18
+ * Automatically-computed radius.
19
19
  */
20
20
  automaticRadius?: string;
21
21
  /**
22
- * Whether the facet count is exhaustive or approximate.
22
+ * Indicates whether the facet count is exhaustive (exact) or approximate.
23
23
  */
24
24
  exhaustiveFacetsCount?: boolean;
25
25
  /**
26
- * Indicate if the nbHits count was exhaustive or approximate.
26
+ * Indicates whether the number of hits `nbHits` is exhaustive (exact) or approximate.
27
27
  */
28
28
  exhaustiveNbHits: boolean;
29
29
  /**
30
- * Indicate if the typo-tolerance search was exhaustive or approximate (only included when typo-tolerance is enabled).
30
+ * Indicates whether the search for typos was exhaustive (exact) or approximate.
31
31
  */
32
32
  exhaustiveTypo?: boolean;
33
33
  /**
34
- * A mapping of each facet name to the corresponding facet counts.
34
+ * Mapping of each facet name to the corresponding facet counts.
35
35
  */
36
36
  facets?: Record<string, Record<string, number>>;
37
37
  /**
@@ -39,7 +39,7 @@ export type BaseSearchResponse = {
39
39
  */
40
40
  facets_stats?: Record<string, FacetsStats>;
41
41
  /**
42
- * Set the number of hits per page.
42
+ * Number of hits per page.
43
43
  */
44
44
  hitsPerPage: number;
45
45
  /**
@@ -47,36 +47,36 @@ export type BaseSearchResponse = {
47
47
  */
48
48
  index?: string;
49
49
  /**
50
- * Index name used for the query. In the case of an A/B test, the targeted index isn\'t always the index used by the query.
50
+ * Index name used for the query. During A/B testing, the targeted index isn\'t always the index used by the query.
51
51
  */
52
52
  indexUsed?: string;
53
53
  /**
54
- * Used to return warnings about the query.
54
+ * Warnings about the query.
55
55
  */
56
56
  message?: string;
57
57
  /**
58
- * Number of hits that the search query matched.
58
+ * Number of hits the search query matched.
59
59
  */
60
60
  nbHits: number;
61
61
  /**
62
- * Number of pages available for the current query.
62
+ * Number of pages of results for the current query.
63
63
  */
64
64
  nbPages: number;
65
65
  /**
66
- * The number of hits selected and sorted by the relevant sort algorithm.
66
+ * Number of hits selected and sorted by the relevant sort algorithm.
67
67
  */
68
68
  nbSortedHits?: number;
69
69
  /**
70
- * Specify the page to retrieve.
70
+ * Page to retrieve (the first page is `0`, not `1`).
71
71
  */
72
72
  page: number;
73
73
  /**
74
- * A url-encoded string of all search parameters.
74
+ * URL-encoded string of all search parameters.
75
75
  */
76
76
  params: string;
77
77
  redirect?: BaseSearchResponseRedirect;
78
78
  /**
79
- * The query string that will be searched, after normalization.
79
+ * Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched.
80
80
  */
81
81
  parsedQuery?: string;
82
82
  /**
@@ -84,15 +84,15 @@ export type BaseSearchResponse = {
84
84
  */
85
85
  processingTimeMS: number;
86
86
  /**
87
- * The text to search in the index.
87
+ * Text to search for in an index.
88
88
  */
89
89
  query: string;
90
90
  /**
91
- * A markup text indicating which parts of the original query have been removed in order to retrieve a non-empty result set.
91
+ * Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
92
92
  */
93
93
  queryAfterRemoval?: string;
94
94
  /**
95
- * Actual host name of the server that processed the request.
95
+ * Host name of the server that processed the request.
96
96
  */
97
97
  serverUsed?: string;
98
98
  /**
@@ -1,6 +1,6 @@
1
1
  import type { RedirectRuleIndexMetadata } from './redirectRuleIndexMetadata';
2
2
  /**
3
- * This parameter is for internal use only.
3
+ * [Redirect results to a URL](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/).
4
4
  */
5
5
  export type BaseSearchResponseRedirect = {
6
6
  index?: RedirectRuleIndexMetadata[];
@@ -5,7 +5,7 @@ import type { BuiltInOperationType } from './builtInOperationType';
5
5
  export type BuiltInOperation = {
6
6
  _operation: BuiltInOperationType;
7
7
  /**
8
- * The right-hand side argument to the operation, for example, increment or decrement step, value to add or remove.
8
+ * Value that corresponds to the operation, for example an `Increment` or `Decrement` step, `Add` or `Remove` value.
9
9
  */
10
10
  value: string;
11
11
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The operation to apply on the attribute.
2
+ * Operation to apply to the attribute.
3
3
  */
4
4
  export type BuiltInOperationType = 'Add' | 'AddUnique' | 'Decrement' | 'Increment' | 'IncrementFrom' | 'IncrementSet' | 'Remove';
5
5
  //# sourceMappingURL=builtInOperationType.d.ts.map
@@ -6,15 +6,15 @@ import type { SearchParamsObject } from './searchParamsObject';
6
6
  */
7
7
  export type PostProps = {
8
8
  /**
9
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
9
+ * Path of the endpoint, anything after \"/1\" must be specified.
10
10
  */
11
11
  path: string;
12
12
  /**
13
- * Query parameters to be applied to the current query.
13
+ * Query parameters to apply to the current query.
14
14
  */
15
15
  parameters?: Record<string, any>;
16
16
  /**
17
- * The parameters to send with the custom request.
17
+ * Parameters to send with the custom request.
18
18
  */
19
19
  body?: Record<string, any>;
20
20
  };
@@ -2,20 +2,20 @@ import type { ConsequenceHide } from './consequenceHide';
2
2
  import type { ConsequenceParams } from './consequenceParams';
3
3
  import type { Promote } from './promote';
4
4
  /**
5
- * Consequence of the Rule.
5
+ * [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences) of a rule.
6
6
  */
7
7
  export type Consequence = {
8
8
  params?: ConsequenceParams;
9
9
  /**
10
- * Objects to promote as hits.
10
+ * Records to promote.
11
11
  */
12
12
  promote?: Promote[];
13
13
  /**
14
- * Only use in combination with the promote consequence. When true, promoted results will be restricted to match the filters of the current search. When false, the promoted results will show up regardless of the filters.
14
+ * Only use in combination with the `promote` consequence. When `true`, promoted results will be restricted to match the filters of the current search. When `false`, the promoted results will show up regardless of the filters.
15
15
  */
16
16
  filterPromotes?: boolean;
17
17
  /**
18
- * Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
18
+ * Records to hide. By default, you can hide up to 50 records per rule.
19
19
  */
20
20
  hide?: ConsequenceHide[];
21
21
  /**
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Unique identifier of the object to hide.
2
+ * Unique identifier of the record to hide.
3
3
  */
4
4
  export type ConsequenceHide = {
5
5
  /**
6
- * Unique identifier of the object.
6
+ * Unique object identifier.
7
7
  */
8
8
  objectID: string;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  export type Cursor = {
2
2
  /**
3
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
3
+ * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call. Pass this value to the subsequent browse call to get the next page of results. When the end of the index has been reached, `cursor` is absent from the response.
4
4
  */
5
5
  cursor?: string;
6
6
  };
@@ -5,22 +5,22 @@ import type { TagFilters } from './tagFilters';
5
5
  export type DeleteByParams = {
6
6
  facetFilters?: FacetFilters;
7
7
  /**
8
- * Filter the query with numeric, facet and/or tag filters.
8
+ * [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
9
9
  */
10
10
  filters?: string;
11
11
  numericFilters?: NumericFilters;
12
12
  tagFilters?: TagFilters;
13
13
  /**
14
- * Search for entries around a central geolocation, enabling a geo search within a circular area.
14
+ * 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.
15
15
  */
16
16
  aroundLatLng?: string;
17
17
  aroundRadius?: AroundRadius;
18
18
  /**
19
- * Search inside a rectangular area (in geo coordinates).
19
+ * 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).
20
20
  */
21
21
  insideBoundingBox?: number[];
22
22
  /**
23
- * Search inside a polygon (in geo coordinates).
23
+ * Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
24
24
  */
25
25
  insidePolygon?: number[];
26
26
  };
@@ -1,26 +1,26 @@
1
1
  import type { DictionaryEntryState } from './dictionaryEntryState';
2
2
  /**
3
- * A dictionary entry.
3
+ * Dictionary entry.
4
4
  */
5
5
  export type DictionaryEntry = Record<string, any> & {
6
6
  /**
7
- * Unique identifier of the object.
7
+ * Unique identifier for a dictionary object.
8
8
  */
9
9
  objectID: string;
10
10
  /**
11
- * Language ISO code supported by the dictionary (e.g., \"en\" for English).
11
+ * [Supported language ISO code](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/).
12
12
  */
13
13
  language: string;
14
14
  /**
15
- * The word of the dictionary entry.
15
+ * Dictionary entry word. Usage depends on the type of dictionary entry. **`stopwordEntry`** The stop word you want to add or update. If the entry already exists in Algolia\'s standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its `state` to `disabled`. **`compoundEntry`** When `decomposition` is empty: adds `word` as a compound atom. For example, atom “kino” decomposes the query “kopfkino” into \"kopf\" and \"kino\". When `decomposition` isn\'t empty: creates a decomposition exception. For example, when decomposition is set to the [\"hund\", \"hutte\"] exception, \"hundehutte\" decomposes into “hund” and “hutte”, discarding the linking \"e\".
16
16
  */
17
17
  word?: string;
18
18
  /**
19
- * The words of the dictionary entry.
19
+ * Compound dictionary [word declensions](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/). If the entry already exists in Algolia\'s standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its `state` to `disabled`.
20
20
  */
21
21
  words?: string[];
22
22
  /**
23
- * A decomposition of the word of the dictionary entry.
23
+ * For compound entries, governs the behavior of the `word` parameter.
24
24
  */
25
25
  decomposition?: string[];
26
26
  state?: DictionaryEntryState;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The state of the dictionary entry.
2
+ * Indicates whether a dictionary entry is active (`enabled`) or inactive (`disabled`).
3
3
  */
4
4
  export type DictionaryEntryState = 'disabled' | 'enabled';
5
5
  //# sourceMappingURL=dictionaryEntryState.d.ts.map
@@ -3,8 +3,8 @@
3
3
  */
4
4
  export type DictionaryLanguage = {
5
5
  /**
6
- * When nbCustomEntries is set to 0, the user didn\'t customize the dictionary. The dictionary is still supported with standard, Algolia-provided entries.
6
+ * If `0`, the dictionary hasn\'t been customized and only contains standard entries provided by Algolia. If `null`, that feature isn\'t available or isn\'t supported for that language.
7
7
  */
8
- nbCustomEntires?: number;
8
+ nbCustomEntries?: number;
9
9
  };
10
10
  //# sourceMappingURL=dictionaryLanguage.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Enables de-duplication or grouping of results.
2
+ * Enables [deduplication or grouping of results (Algolia\'s _distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature)).
3
3
  */
4
4
  export type Distinct = boolean | number;
5
5
  //# sourceMappingURL=distinct.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Controls how the exact ranking criterion is computed when the query contains only one word.
2
+ * Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the query contains only one word.
3
3
  */
4
4
  export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
5
5
  //# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
3
- * Filter hits by facet value.
3
+ * [Filter hits by facet value](https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/).
4
4
  */
5
5
  export type FacetFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=facetFilters.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import type { Facets } from './facets';
2
2
  import type { Value } from './value';
3
3
  /**
4
- * Defining how facets should be ordered.
4
+ * Defines the ordering of facets (widgets).
5
5
  */
6
6
  export type FacetOrdering = {
7
7
  facets?: Facets;
8
8
  /**
9
- * The ordering of facet values, within an individual list.
9
+ * Ordering of facet values within an individual facet.
10
10
  */
11
11
  values?: Record<string, Value>;
12
12
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The ordering of facets (widgets).
2
+ * Ordering of facets (widgets).
3
3
  */
4
4
  export type Facets = {
5
5
  /**
@@ -1,18 +1,18 @@
1
1
  export type FacetsStats = {
2
2
  /**
3
- * The minimum value in the result set.
3
+ * Minimum value in the results.
4
4
  */
5
5
  min?: number;
6
6
  /**
7
- * The maximum value in the result set.
7
+ * Maximum value in the results.
8
8
  */
9
9
  max?: number;
10
10
  /**
11
- * The average facet value in the result set.
11
+ * Average facet value in the results.
12
12
  */
13
13
  avg?: number;
14
14
  /**
15
- * The sum of all values in the result set.
15
+ * Sum of all values in the results.
16
16
  */
17
17
  sum?: number;
18
18
  };
@@ -8,7 +8,7 @@ export type FetchedIndex = {
8
8
  */
9
9
  createdAt: string;
10
10
  /**
11
- * Date of last update (ISO-8601 format).
11
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
12
12
  */
13
13
  updatedAt: string;
14
14
  /**
@@ -4,7 +4,7 @@ import type { MatchLevel } from './matchLevel';
4
4
  */
5
5
  export type HighlightResultOption = {
6
6
  /**
7
- * Markup text with occurrences highlighted.
7
+ * Markup text with `facetQuery` matches highlighted.
8
8
  */
9
9
  value: string;
10
10
  matchLevel: MatchLevel;
@@ -6,7 +6,7 @@ import type { SnippetResult } from './snippetResult';
6
6
  */
7
7
  export type Hit<T = Record<string, any>> = T & {
8
8
  /**
9
- * Unique identifier of the object.
9
+ * Unique object identifier.
10
10
  */
11
11
  objectID: string;
12
12
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Treats singular, plurals, and other forms of declensions as matching terms. IgnorePlurals is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the ignore plurals functionality, where singulars and plurals are considered equivalent (foot = feet). The languages supported here are either every language (this is the default, see list of languages below), or those set by queryLanguages. False: disables ignore plurals, where singulars and plurals are not considered the same for matching purposes (foot will not find feet).
2
+ * Treats singular, plurals, and other forms of declensions as matching terms. `ignorePlurals` is used in conjunction with the `queryLanguages` setting. _list_: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in `queryLanguages`. _true_: enables the ignore plurals feature, where singulars and plurals are considered equivalent (\"foot\" = \"feet\"). The languages supported here are either [every language](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) (this is the default) or those set by `queryLanguages`. _false_: turns off the ignore plurals feature, so that singulars and plurals aren\'t considered to be the same (\"foot\" will not find \"feet\").
3
3
  */
4
4
  export type IgnorePlurals = string[] | boolean;
5
5
  //# sourceMappingURL=ignorePlurals.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import type { BaseIndexSettings } from './baseIndexSettings';
2
2
  import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
3
3
  /**
4
- * The Algolia index settings.
4
+ * Algolia index settings.
5
5
  */
6
6
  export type IndexSettings = BaseIndexSettings & IndexSettingsAsSearchParams;
7
7
  //# sourceMappingURL=indexSettings.d.ts.map
@@ -12,43 +12,43 @@ import type { RenderingContent } from './renderingContent';
12
12
  import type { TypoTolerance } from './typoTolerance';
13
13
  export type IndexSettingsAsSearchParams = {
14
14
  /**
15
- * The complete list of attributes that will be used for faceting.
15
+ * Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`.
16
16
  */
17
17
  attributesForFaceting?: string[];
18
18
  /**
19
- * This parameter controls which attributes to retrieve and which not to retrieve.
19
+ * Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.
20
20
  */
21
21
  attributesToRetrieve?: string[];
22
22
  /**
23
- * Restricts a given query to look in only a subset of your searchable attributes.
23
+ * Restricts a query to only look at a subset of your [searchable attributes](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/).
24
24
  */
25
25
  restrictSearchableAttributes?: string[];
26
26
  /**
27
- * Controls how Algolia should sort your results.
27
+ * Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).
28
28
  */
29
29
  ranking?: string[];
30
30
  /**
31
- * Specifies the custom ranking criterion.
31
+ * Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Use the `asc` and `desc` modifiers to specify the ranking order: ascending or descending.
32
32
  */
33
33
  customRanking?: string[];
34
34
  /**
35
- * Controls the relevancy threshold below which less relevant results aren\'t included in the results.
35
+ * Relevancy threshold below which less relevant results aren\'t included in the results.
36
36
  */
37
37
  relevancyStrictness?: number;
38
38
  /**
39
- * List of attributes to highlight.
39
+ * Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`).
40
40
  */
41
41
  attributesToHighlight?: string[];
42
42
  /**
43
- * List of attributes to snippet, with an optional maximum number of words to snippet.
43
+ * Attributes to _snippet_. \'Snippeting\' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: `body:20`.
44
44
  */
45
45
  attributesToSnippet?: string[];
46
46
  /**
47
- * The HTML string to insert before the highlighted parts in all highlight and snippet results.
47
+ * HTML string to insert before the highlighted parts in all highlight and snippet results.
48
48
  */
49
49
  highlightPreTag?: string;
50
50
  /**
51
- * The HTML string to insert after the highlighted parts in all highlight and snippet results.
51
+ * HTML string to insert after the highlighted parts in all highlight and snippet results.
52
52
  */
53
53
  highlightPostTag?: string;
54
54
  /**
@@ -60,15 +60,15 @@ export type IndexSettingsAsSearchParams = {
60
60
  */
61
61
  restrictHighlightAndSnippetArrays?: boolean;
62
62
  /**
63
- * Set the number of hits per page.
63
+ * Number of hits per page.
64
64
  */
65
65
  hitsPerPage?: number;
66
66
  /**
67
- * Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
67
+ * Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
68
68
  */
69
69
  minWordSizefor1Typo?: number;
70
70
  /**
71
- * Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
71
+ * Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
72
72
  */
73
73
  minWordSizefor2Typos?: number;
74
74
  typoTolerance?: TypoTolerance;
@@ -77,29 +77,29 @@ export type IndexSettingsAsSearchParams = {
77
77
  */
78
78
  allowTyposOnNumericTokens?: boolean;
79
79
  /**
80
- * List of attributes on which you want to disable typo tolerance.
80
+ * Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
81
81
  */
82
82
  disableTypoToleranceOnAttributes?: string[];
83
83
  ignorePlurals?: IgnorePlurals;
84
84
  removeStopWords?: RemoveStopWords;
85
85
  /**
86
- * List of characters that the engine shouldn\'t automatically normalize.
86
+ * Characters that the engine shouldn\'t automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
87
87
  */
88
88
  keepDiacriticsOnCharacters?: string;
89
89
  /**
90
- * Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
90
+ * Sets your user\'s search language. This adjusts language-specific settings and features such as `ignorePlurals`, `removeStopWords`, and [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) word detection.
91
91
  */
92
92
  queryLanguages?: string[];
93
93
  /**
94
- * Splits compound words into their composing atoms in the query.
94
+ * [Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query.
95
95
  */
96
96
  decompoundQuery?: boolean;
97
97
  /**
98
- * Whether Rules should be globally enabled.
98
+ * Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.
99
99
  */
100
100
  enableRules?: boolean;
101
101
  /**
102
- * Enable the Personalization feature.
102
+ * Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.
103
103
  */
104
104
  enablePersonalization?: boolean;
105
105
  queryType?: QueryType;
@@ -107,33 +107,33 @@ export type IndexSettingsAsSearchParams = {
107
107
  mode?: Mode;
108
108
  semanticSearch?: IndexSettingsAsSearchParamsSemanticSearch;
109
109
  /**
110
- * Enables the advanced query syntax.
110
+ * Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).
111
111
  */
112
112
  advancedSyntax?: boolean;
113
113
  /**
114
- * A list of words that should be considered as optional when found in the query.
114
+ * Words which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query.
115
115
  */
116
116
  optionalWords?: string[];
117
117
  /**
118
- * List of attributes on which you want to disable the exact ranking criterion.
118
+ * Attributes for which you want to [turn off the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
119
119
  */
120
120
  disableExactOnAttributes?: string[];
121
121
  exactOnSingleWordQuery?: ExactOnSingleWordQuery;
122
122
  /**
123
- * List of alternatives that should be considered an exact match by the exact ranking criterion.
123
+ * Alternatives that should be considered an exact match by [the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
124
124
  */
125
125
  alternativesAsExact?: AlternativesAsExact[];
126
126
  /**
127
- * Allows you to specify which advanced syntax features are active when advancedSyntax\' is enabled.
127
+ * Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.
128
128
  */
129
129
  advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
130
130
  /**
131
- * Enriches the APIs response with meta-information as to how the query was processed.
131
+ * Enriches the API\'s response with information about how the query was processed.
132
132
  */
133
133
  explain?: string[];
134
134
  distinct?: Distinct;
135
135
  /**
136
- * Name of the de-duplication attribute to be used with the distinct feature.
136
+ * Name of the deduplication attribute to be used with Algolia\'s [_distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature).
137
137
  */
138
138
  attributeForDistinct?: string;
139
139
  /**
@@ -145,19 +145,19 @@ export type IndexSettingsAsSearchParams = {
145
145
  */
146
146
  replaceSynonymsInHighlight?: boolean;
147
147
  /**
148
- * Precision of the proximity ranking criterion.
148
+ * Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).
149
149
  */
150
150
  minProximity?: number;
151
151
  /**
152
- * Choose which fields to return in the API response. This parameters applies to search and browse queries.
152
+ * Attributes to include in the API response for search and browse queries.
153
153
  */
154
154
  responseFields?: string[];
155
155
  /**
156
- * Maximum number of facet hits to return during a search for facet values. For performance reasons, the maximum allowed number of returned values is 100.
156
+ * Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
157
157
  */
158
158
  maxFacetHits?: number;
159
159
  /**
160
- * When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
160
+ * When the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.
161
161
  */
162
162
  attributeCriteriaComputedByMinProximity?: boolean;
163
163
  renderingContent?: RenderingContent;
@@ -1,9 +1,9 @@
1
1
  /**
2
- * The settings relevant for configuration of the semantic search engine. These settings are only used when the mode is set to \'neuralSearch\'.
2
+ * Settings for the semantic search part of NeuralSearch. Only used when `mode` is _neuralSearch_.
3
3
  */
4
4
  export type IndexSettingsAsSearchParamsSemanticSearch = {
5
5
  /**
6
- * When null, the current index / replica group will be used as the event source.
6
+ * Indices from which to collect click and conversion events. If null, the current index and replica group will be used as the event source.
7
7
  */
8
8
  eventSources?: string[] | null;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import type { DictionaryLanguage } from './dictionaryLanguage';
2
2
  /**
3
- * A dictionary language.
3
+ * Dictionary language.
4
4
  */
5
5
  export type Languages = {
6
6
  plurals: DictionaryLanguage | null;