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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/dist/algoliasearch/builds/browser.d.ts +2 -2
  2. package/dist/algoliasearch/builds/node.d.ts +2 -2
  3. package/dist/algoliasearch.cjs +191 -191
  4. package/dist/algoliasearch.esm.browser.js +191 -191
  5. package/dist/algoliasearch.esm.node.js +191 -191
  6. package/dist/algoliasearch.umd.js +2 -2
  7. package/dist/client-abtesting/model/aBTestResponse.d.ts +1 -1
  8. package/dist/client-abtesting/model/clientMethodProps.d.ts +2 -2
  9. package/dist/client-abtesting/src/abtestingClient.d.ts +3 -3
  10. package/dist/client-analytics/model/clientMethodProps.d.ts +65 -65
  11. package/dist/client-analytics/model/searchNoResultEvent.d.ts +1 -1
  12. package/dist/client-analytics/model/topSearch.d.ts +1 -1
  13. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +1 -1
  14. package/dist/client-analytics/src/analyticsClient.d.ts +66 -66
  15. package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
  16. package/dist/client-search/model/acl.d.ts +1 -1
  17. package/dist/client-search/model/action.d.ts +1 -1
  18. package/dist/client-search/model/addApiKeyResponse.d.ts +1 -1
  19. package/dist/client-search/model/anchoring.d.ts +1 -1
  20. package/dist/client-search/model/apiKey.d.ts +8 -8
  21. package/dist/client-search/model/aroundPrecision.d.ts +1 -1
  22. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts +9 -0
  23. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  24. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  25. package/dist/client-search/model/aroundRadiusAll.d.ts +3 -0
  26. package/dist/client-search/model/aroundRadiusAll.d.ts.map +1 -1
  27. package/dist/client-search/model/automaticFacetFilter.d.ts +4 -4
  28. package/dist/client-search/model/automaticFacetFilters.d.ts +1 -1
  29. package/dist/client-search/model/baseIndexSettings.d.ts +20 -16
  30. package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -1
  31. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  32. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  33. package/dist/client-search/model/baseSearchResponse.d.ts +6 -6
  34. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  35. package/dist/client-search/model/batchResponse.d.ts +2 -2
  36. package/dist/client-search/model/builtInOperation.d.ts +2 -2
  37. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  38. package/dist/client-search/model/clientMethodProps.d.ts +63 -63
  39. package/dist/client-search/model/condition.d.ts +7 -3
  40. package/dist/client-search/model/condition.d.ts.map +1 -1
  41. package/dist/client-search/model/consequence.d.ts +5 -5
  42. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  43. package/dist/client-search/model/consequenceQuery.d.ts +1 -1
  44. package/dist/client-search/model/consequenceQueryObject.d.ts +2 -2
  45. package/dist/client-search/model/createdAtResponse.d.ts +1 -1
  46. package/dist/client-search/model/cursor.d.ts +1 -1
  47. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  48. package/dist/client-search/model/deletedAtResponse.d.ts +1 -1
  49. package/dist/client-search/model/dictionaryEntry.d.ts +5 -5
  50. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  51. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  52. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  53. package/dist/client-search/model/distinct.d.ts +1 -1
  54. package/dist/client-search/model/edit.d.ts +1 -1
  55. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  56. package/dist/client-search/model/facetFilters.d.ts +1 -1
  57. package/dist/client-search/model/facetHits.d.ts +2 -2
  58. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  59. package/dist/client-search/model/facets.d.ts +2 -2
  60. package/dist/client-search/model/getObjectsRequest.d.ts +3 -3
  61. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  62. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +1 -1
  63. package/dist/client-search/model/highlightResultOption.d.ts +3 -3
  64. package/dist/client-search/model/hit.d.ts +4 -4
  65. package/dist/client-search/model/ignorePlurals.d.ts +1 -1
  66. package/dist/client-search/model/index.d.ts +1 -0
  67. package/dist/client-search/model/index.d.ts.map +1 -1
  68. package/dist/client-search/model/indexSettings.d.ts +1 -1
  69. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -34
  70. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  71. package/dist/client-search/model/log.d.ts +11 -11
  72. package/dist/client-search/model/logQuery.d.ts +1 -1
  73. package/dist/client-search/model/matchLevel.d.ts +1 -1
  74. package/dist/client-search/model/mode.d.ts +1 -1
  75. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  76. package/dist/client-search/model/numericFilters.d.ts +1 -1
  77. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  78. package/dist/client-search/model/operationType.d.ts +1 -1
  79. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  80. package/dist/client-search/model/params.d.ts +1 -1
  81. package/dist/client-search/model/promoteObjectID.d.ts +2 -2
  82. package/dist/client-search/model/promoteObjectIDs.d.ts +2 -2
  83. package/dist/client-search/model/queryType.d.ts +1 -1
  84. package/dist/client-search/model/rankingInfo.d.ts +10 -7
  85. package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
  86. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  87. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  88. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  89. package/dist/client-search/model/renderingContent.d.ts +1 -1
  90. package/dist/client-search/model/rule.d.ts +5 -5
  91. package/dist/client-search/model/saveObjectResponse.d.ts +3 -3
  92. package/dist/client-search/model/saveSynonymResponse.d.ts +1 -1
  93. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +4 -4
  94. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts +20 -0
  95. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  96. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +1 -1
  97. package/dist/client-search/model/searchForFacetValuesResponse.d.ts +3 -0
  98. package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -1
  99. package/dist/client-search/model/searchForFacetsOptions.d.ts +2 -2
  100. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  101. package/dist/client-search/model/searchHits.d.ts +6 -3
  102. package/dist/client-search/model/searchHits.d.ts.map +1 -1
  103. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  104. package/dist/client-search/model/searchRulesParams.d.ts +4 -8
  105. package/dist/client-search/model/searchRulesParams.d.ts.map +1 -1
  106. package/dist/client-search/model/searchRulesResponse.d.ts +2 -2
  107. package/dist/client-search/model/searchStrategy.d.ts +1 -1
  108. package/dist/client-search/model/searchSynonymsParams.d.ts +2 -2
  109. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  110. package/dist/client-search/model/searchUserIdsParams.d.ts +1 -1
  111. package/dist/client-search/model/searchUserIdsResponse.d.ts +2 -2
  112. package/dist/client-search/model/securedAPIKeyRestrictions.d.ts +5 -5
  113. package/dist/client-search/model/semanticSearch.d.ts +2 -2
  114. package/dist/client-search/model/snippetResultOption.d.ts +2 -2
  115. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  116. package/dist/client-search/model/tagFilters.d.ts +1 -1
  117. package/dist/client-search/model/taskStatus.d.ts +1 -1
  118. package/dist/client-search/model/timeRange.d.ts +2 -2
  119. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  120. package/dist/client-search/model/typoToleranceEnum.d.ts +3 -0
  121. package/dist/client-search/model/typoToleranceEnum.d.ts.map +1 -1
  122. package/dist/client-search/model/updatedAtResponse.d.ts +1 -1
  123. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +2 -2
  124. package/dist/client-search/model/updatedRuleResponse.d.ts +2 -2
  125. package/dist/client-search/model/userHit.d.ts +1 -1
  126. package/dist/client-search/model/userId.d.ts +1 -1
  127. package/dist/client-search/model/value.d.ts +1 -1
  128. package/dist/client-search/src/searchClient.d.ts +124 -123
  129. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  130. package/dist/lite/lite.cjs +3 -3
  131. package/dist/lite/lite.esm.browser.js +3 -3
  132. package/dist/lite/lite.esm.node.js +3 -3
  133. package/dist/lite/lite.umd.js +2 -2
  134. package/dist/lite/model/acl.d.ts +1 -1
  135. package/dist/lite/model/action.d.ts +1 -1
  136. package/dist/lite/model/addApiKeyResponse.d.ts +1 -1
  137. package/dist/lite/model/anchoring.d.ts +1 -1
  138. package/dist/lite/model/apiKey.d.ts +8 -8
  139. package/dist/lite/model/aroundPrecision.d.ts +1 -1
  140. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts +9 -0
  141. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  142. package/dist/lite/model/aroundRadius.d.ts +1 -1
  143. package/dist/lite/model/aroundRadiusAll.d.ts +3 -0
  144. package/dist/lite/model/aroundRadiusAll.d.ts.map +1 -1
  145. package/dist/lite/model/automaticFacetFilter.d.ts +4 -4
  146. package/dist/lite/model/automaticFacetFilters.d.ts +1 -1
  147. package/dist/lite/model/baseIndexSettings.d.ts +20 -16
  148. package/dist/lite/model/baseIndexSettings.d.ts.map +1 -1
  149. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  150. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  151. package/dist/lite/model/baseSearchResponse.d.ts +6 -6
  152. package/dist/lite/model/builtInOperation.d.ts +2 -2
  153. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  154. package/dist/lite/model/condition.d.ts +7 -3
  155. package/dist/lite/model/condition.d.ts.map +1 -1
  156. package/dist/lite/model/consequence.d.ts +5 -5
  157. package/dist/lite/model/consequenceHide.d.ts +2 -2
  158. package/dist/lite/model/consequenceQuery.d.ts +1 -1
  159. package/dist/lite/model/consequenceQueryObject.d.ts +2 -2
  160. package/dist/lite/model/cursor.d.ts +1 -1
  161. package/dist/lite/model/deleteByParams.d.ts +4 -4
  162. package/dist/lite/model/dictionaryEntry.d.ts +5 -5
  163. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  164. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  165. package/dist/lite/model/distinct.d.ts +1 -1
  166. package/dist/lite/model/edit.d.ts +1 -1
  167. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  168. package/dist/lite/model/facetFilters.d.ts +1 -1
  169. package/dist/lite/model/facetHits.d.ts +2 -2
  170. package/dist/lite/model/facetOrdering.d.ts +2 -2
  171. package/dist/lite/model/facets.d.ts +2 -2
  172. package/dist/lite/model/highlightResultOption.d.ts +3 -3
  173. package/dist/lite/model/hit.d.ts +4 -4
  174. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  175. package/dist/lite/model/index.d.ts +1 -0
  176. package/dist/lite/model/index.d.ts.map +1 -1
  177. package/dist/lite/model/indexSettings.d.ts +1 -1
  178. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -34
  179. package/dist/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  180. package/dist/lite/model/matchLevel.d.ts +1 -1
  181. package/dist/lite/model/mode.d.ts +1 -1
  182. package/dist/lite/model/numericFilters.d.ts +1 -1
  183. package/dist/lite/model/operationType.d.ts +1 -1
  184. package/dist/lite/model/optionalFilters.d.ts +1 -1
  185. package/dist/lite/model/params.d.ts +1 -1
  186. package/dist/lite/model/promoteObjectID.d.ts +2 -2
  187. package/dist/lite/model/promoteObjectIDs.d.ts +2 -2
  188. package/dist/lite/model/queryType.d.ts +1 -1
  189. package/dist/lite/model/rankingInfo.d.ts +10 -7
  190. package/dist/lite/model/rankingInfo.d.ts.map +1 -1
  191. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  192. package/dist/lite/model/removeStopWords.d.ts +1 -1
  193. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  194. package/dist/lite/model/renderingContent.d.ts +1 -1
  195. package/dist/lite/model/rule.d.ts +5 -5
  196. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts +20 -0
  197. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  198. package/dist/lite/model/searchForFacetValuesResponse.d.ts +3 -0
  199. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -1
  200. package/dist/lite/model/searchForFacetsOptions.d.ts +2 -2
  201. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  202. package/dist/lite/model/searchHits.d.ts +6 -3
  203. package/dist/lite/model/searchHits.d.ts.map +1 -1
  204. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  205. package/dist/lite/model/searchStrategy.d.ts +1 -1
  206. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  207. package/dist/lite/model/securedAPIKeyRestrictions.d.ts +5 -5
  208. package/dist/lite/model/semanticSearch.d.ts +2 -2
  209. package/dist/lite/model/snippetResultOption.d.ts +2 -2
  210. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  211. package/dist/lite/model/tagFilters.d.ts +1 -1
  212. package/dist/lite/model/taskStatus.d.ts +1 -1
  213. package/dist/lite/model/timeRange.d.ts +2 -2
  214. package/dist/lite/model/typoTolerance.d.ts +1 -1
  215. package/dist/lite/model/typoToleranceEnum.d.ts +3 -0
  216. package/dist/lite/model/typoToleranceEnum.d.ts.map +1 -1
  217. package/dist/lite/model/updatedRuleResponse.d.ts +2 -2
  218. package/dist/lite/model/userId.d.ts +1 -1
  219. package/dist/lite/model/value.d.ts +1 -1
  220. package/dist/lite/src/liteClient.d.ts +3 -3
  221. package/dist/lite/src/liteClient.d.ts.map +1 -1
  222. package/lite/model/acl.ts +1 -1
  223. package/lite/model/action.ts +1 -1
  224. package/lite/model/addApiKeyResponse.ts +1 -1
  225. package/lite/model/anchoring.ts +1 -1
  226. package/lite/model/apiKey.ts +8 -8
  227. package/lite/model/aroundPrecision.ts +1 -1
  228. package/lite/model/aroundPrecisionFromValueInner.ts +9 -0
  229. package/lite/model/aroundRadius.ts +1 -1
  230. package/lite/model/aroundRadiusAll.ts +3 -0
  231. package/lite/model/automaticFacetFilter.ts +4 -4
  232. package/lite/model/automaticFacetFilters.ts +1 -1
  233. package/lite/model/baseIndexSettings.ts +21 -16
  234. package/lite/model/baseSearchParamsWithoutQuery.ts +24 -29
  235. package/lite/model/baseSearchResponse.ts +6 -6
  236. package/lite/model/builtInOperation.ts +2 -2
  237. package/lite/model/builtInOperationType.ts +1 -1
  238. package/lite/model/condition.ts +8 -3
  239. package/lite/model/consequence.ts +5 -5
  240. package/lite/model/consequenceHide.ts +2 -2
  241. package/lite/model/consequenceQuery.ts +1 -1
  242. package/lite/model/consequenceQueryObject.ts +2 -2
  243. package/lite/model/cursor.ts +1 -1
  244. package/lite/model/deleteByParams.ts +4 -4
  245. package/lite/model/dictionaryEntry.ts +5 -5
  246. package/lite/model/dictionaryEntryState.ts +1 -1
  247. package/lite/model/dictionaryLanguage.ts +2 -2
  248. package/lite/model/distinct.ts +1 -1
  249. package/lite/model/edit.ts +1 -1
  250. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  251. package/lite/model/facetFilters.ts +1 -1
  252. package/lite/model/facetHits.ts +2 -2
  253. package/lite/model/facetOrdering.ts +2 -2
  254. package/lite/model/facets.ts +2 -2
  255. package/lite/model/highlightResultOption.ts +3 -3
  256. package/lite/model/hit.ts +4 -4
  257. package/lite/model/ignorePlurals.ts +1 -1
  258. package/lite/model/index.ts +1 -0
  259. package/lite/model/indexSettings.ts +1 -1
  260. package/lite/model/indexSettingsAsSearchParams.ts +30 -35
  261. package/lite/model/matchLevel.ts +1 -1
  262. package/lite/model/mode.ts +1 -1
  263. package/lite/model/numericFilters.ts +1 -1
  264. package/lite/model/operationType.ts +1 -1
  265. package/lite/model/optionalFilters.ts +1 -1
  266. package/lite/model/params.ts +1 -1
  267. package/lite/model/promoteObjectID.ts +2 -2
  268. package/lite/model/promoteObjectIDs.ts +2 -2
  269. package/lite/model/queryType.ts +1 -1
  270. package/lite/model/rankingInfo.ts +10 -7
  271. package/lite/model/reRankingApplyFilter.ts +1 -1
  272. package/lite/model/removeStopWords.ts +1 -1
  273. package/lite/model/removeWordsIfNoResults.ts +1 -1
  274. package/lite/model/renderingContent.ts +1 -1
  275. package/lite/model/rule.ts +5 -5
  276. package/lite/model/searchDictionaryEntriesResponse.ts +25 -0
  277. package/lite/model/searchForFacetValuesResponse.ts +3 -0
  278. package/lite/model/searchForFacetsOptions.ts +2 -2
  279. package/lite/model/searchForHitsOptions.ts +1 -1
  280. package/lite/model/searchHits.ts +6 -3
  281. package/lite/model/searchParamsQuery.ts +1 -1
  282. package/lite/model/searchStrategy.ts +1 -1
  283. package/lite/model/searchSynonymsResponse.ts +2 -2
  284. package/lite/model/securedAPIKeyRestrictions.ts +5 -5
  285. package/lite/model/semanticSearch.ts +2 -2
  286. package/lite/model/snippetResultOption.ts +2 -2
  287. package/lite/model/sortRemainingBy.ts +1 -1
  288. package/lite/model/tagFilters.ts +1 -1
  289. package/lite/model/taskStatus.ts +1 -1
  290. package/lite/model/timeRange.ts +2 -2
  291. package/lite/model/typoTolerance.ts +1 -1
  292. package/lite/model/typoToleranceEnum.ts +3 -0
  293. package/lite/model/updatedRuleResponse.ts +2 -2
  294. package/lite/model/userId.ts +1 -1
  295. package/lite/model/value.ts +1 -1
  296. package/lite/src/liteClient.ts +3 -3
  297. package/package.json +11 -11
@@ -2,23 +2,23 @@ import type { SearchParamsObject } from './searchParamsObject';
2
2
  export type SecuredAPIKeyRestrictions = {
3
3
  searchParams?: SearchParamsObject;
4
4
  /**
5
- * Filters that apply to every search made with the secured API key. You can add extra filters at search time with the filters query parameter. For example, if you set the filter group:admin on your generated API key, and you add groups:press OR groups:visitors with the filters query parameter, your final search filter is equivalent to groups:admin AND (groups:press OR groups:visitors).
5
+ * Filters that apply to every search made with the secured API key. Extra filters added at search time will be combined with `AND`. For example, if you set `group:admin` as fixed filter on your generated API key, and add `groups:visitors` to the search query, the complete set of filters will be `group:admin AND groups:visitors`.
6
6
  */
7
7
  filters?: string;
8
8
  /**
9
- * Unix timestamp used to set the expiration date of the API key.
9
+ * Timestamp in [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time) when the API key should expire.
10
10
  */
11
11
  validUntil?: number;
12
12
  /**
13
- * Index names that can be queried.
13
+ * Index names or patterns that this API key can access. By default, an API key can access all indices in the same application. You can use leading and trailing wildcard characters (`*`): - `dev_*` matches all indices starting with \"dev_\". - `*_dev` matches all indices ending with \"_dev\". - `*_products_*` matches all indices containing \"_products_\".
14
14
  */
15
15
  restrictIndices?: string[];
16
16
  /**
17
- * IPv4 network allowed to use the generated key. Use this to protect against API key leaking and reuse. You can only provide a single source, but you can specify a range of IPs (for example, 192.168.1.0/24).
17
+ * IP network that are allowed to use this key. You can only add a single source, but you can provide a range of IP addresses. Use this to protect against API key leaking and reuse.
18
18
  */
19
19
  restrictSources?: string;
20
20
  /**
21
- * Unique user IP address. This can be useful when you want to impose a rate limit on specific users. By default, rate limits are set based on the IP address. This can become an issue when several users search from the same IP address. To avoid this, you can set a unique userToken for each user when generating their API key. This lets you restrict each user to a maximum number of API calls per hour, even if they share their IP with another user. Specifying the userToken in a secured API key is also a good security practice as it ensures users don\'t change it. Many features like Analytics, Personalization, and Dynamic Re-ranking rely on the authenticity of user identifiers. Setting the userToken at the API key level ensures that downstream services work as expected and prevents abuse.
21
+ * Pseudonymous user identifier to restrict usage of this API key to specific users. By default, rate limits are set based on IP addresses. This can be an issue if many users search from the same IP address. To avoid this, add a user token to each generated API key.
22
22
  */
23
23
  userToken?: string;
24
24
  };
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Settings for the semantic search part of NeuralSearch. Only used when `mode` is _neuralSearch_.
2
+ * Settings for the semantic search part of NeuralSearch. Only used when `mode` is `neuralSearch`.
3
3
  */
4
4
  export type SemanticSearch = {
5
5
  /**
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.
6
+ * Indices from which to collect click and conversion events. If null, the current index and all its replicas are used.
7
7
  */
8
8
  eventSources?: string[] | null;
9
9
  };
@@ -1,10 +1,10 @@
1
1
  import type { MatchLevel } from './matchLevel';
2
2
  /**
3
- * Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
3
+ * Snippets that show the context around a matching search query.
4
4
  */
5
5
  export type SnippetResultOption = {
6
6
  /**
7
- * Markup text with `facetQuery` matches highlighted.
7
+ * Highlighted attribute value, including HTML tags.
8
8
  */
9
9
  value: string;
10
10
  matchLevel: MatchLevel;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * How to display the remaining items: - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
2
+ * Order of facet values that aren\'t explicitly positioned with the `order` setting. <dl> <dt><code>count</code></dt> <dd> Order remaining facet values by decreasing count. The count is the number of matching records containing this facet value. </dd> <dt><code>alpha</code></dt> <dd>Sort facet values alphabetically.</dd> <dt><code>hidden</code></dt> <dd>Don\'t show facet values that aren\'t explicitly positioned.</dd> </dl>.
3
3
  */
4
4
  export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
5
5
  //# sourceMappingURL=sortRemainingBy.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
3
- * [Filter hits by tags](https://www.algolia.com/doc/api-reference/api-parameters/tagFilters/).
3
+ * Filter the search by values of the special `_tags` attribute. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** Different from regular facets, `_tags` can only be used for filtering (including or excluding records). You won\'t get a facet count. The same combination and escaping rules apply as for `facetFilters`.
4
4
  */
5
5
  export type TagFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=tagFilters.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * _published_ if the task has been processed, _notPublished_ otherwise.
2
+ * Task status, `published` if the task is completed, `notPublished` otherwise.
3
3
  */
4
4
  export type TaskStatus = 'notPublished' | 'published';
5
5
  //# sourceMappingURL=taskStatus.d.ts.map
@@ -1,10 +1,10 @@
1
1
  export type TimeRange = {
2
2
  /**
3
- * Lower bound of the time range (Unix timestamp).
3
+ * When the rule should start to be active, in Unix epoch time.
4
4
  */
5
5
  from: number;
6
6
  /**
7
- * Upper bound of the time range (Unix timestamp).
7
+ * When the rule should stop to be active, in Unix epoch time.
8
8
  */
9
9
  until: number;
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import type { TypoToleranceEnum } from './typoToleranceEnum';
2
2
  /**
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.
3
+ * Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied. If typo tolerance is true, `min`, or `strict`, [word splitting and concetenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) is also active.
4
4
  */
5
5
  export type TypoTolerance = TypoToleranceEnum | boolean;
6
6
  //# sourceMappingURL=typoTolerance.d.ts.map
@@ -1,2 +1,5 @@
1
+ /**
2
+ * - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
3
+ */
1
4
  export type TypoToleranceEnum = 'min' | 'strict';
2
5
  //# sourceMappingURL=typoToleranceEnum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typoToleranceEnum.d.ts","sourceRoot":"","sources":["../../../lite/model/typoToleranceEnum.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"typoToleranceEnum.d.ts","sourceRoot":"","sources":["../../../lite/model/typoToleranceEnum.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export type UpdatedRuleResponse = {
2
2
  /**
3
- * Unique object identifier.
3
+ * Unique identifier of a rule object.
4
4
  */
5
5
  objectID: string;
6
6
  /**
@@ -8,7 +8,7 @@ export type UpdatedRuleResponse = {
8
8
  */
9
9
  updatedAt: string;
10
10
  /**
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`.
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](#tag/Indices/operation/getTask) and this `taskID`.
12
12
  */
13
13
  taskID: number;
14
14
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export type UserId = {
5
5
  /**
6
- * UserID of the user.
6
+ * User ID.
7
7
  */
8
8
  userID: string;
9
9
  /**
@@ -1,7 +1,7 @@
1
1
  import type { SortRemainingBy } from './sortRemainingBy';
2
2
  export type Value = {
3
3
  /**
4
- * Pinned order of facet lists.
4
+ * Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
5
5
  */
6
6
  order?: string[];
7
7
  sortRemainingBy?: SortRemainingBy;
@@ -2,7 +2,7 @@ import type { CreateClientOptions, RequestOptions } from '@algolia/client-common
2
2
  import type { CustomPostProps, 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.105";
5
+ export declare const apiClientVersion = "5.0.0-alpha.107";
6
6
  export declare function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
7
7
  transporter: import("@algolia/client-common").Transporter;
8
8
  /**
@@ -35,12 +35,12 @@ export declare function createLiteClient({ appId: appIdOption, apiKey: apiKeyOpt
35
35
  */
36
36
  customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
37
37
  /**
38
- * Send multiple search queries to one or more indices.
38
+ * Sends multiple search request to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
39
39
  *
40
40
  * Required API Key ACLs:
41
41
  * - search.
42
42
  *
43
- * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
43
+ * @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
44
44
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
45
45
  */
46
46
  search<T>(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses<T>>;
@@ -1 +1 @@
1
- {"version":3,"file":"liteClient.d.ts","sourceRoot":"","sources":["../../../lite/src/liteClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,mBAAmB,EAKnB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,oBAAoB,CAAC;AAsClD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,YAAY,EACpB,QAAQ,EACR,aAAa,EACb,GAAG,OAAO,EACX,EAAE,mBAAmB;;IAwBlB;;OAEG;;IAGH;;OAEG;kBACW,QAAQ,IAAI,CAAC;IAO3B;;OAEG;;IAKH;;;;;OAKG;6BACsB,MAAM,YAAY,MAAM,GAAG,IAAI;IAIxD;;;;;;;;OAQG;2CAE2B,eAAe,mBAC1B,cAAc,GAC9B,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC;IAsB/B;;;;;;;;OAQG;kCAEmB,uBAAuB,GAAG,kBAAkB,mBAC/C,cAAc;EAwDpC"}
1
+ {"version":3,"file":"liteClient.d.ts","sourceRoot":"","sources":["../../../lite/src/liteClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,mBAAmB,EAKnB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,oBAAoB,CAAC;AAsClD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,YAAY,EACpB,QAAQ,EACR,aAAa,EACb,GAAG,OAAO,EACX,EAAE,mBAAmB;;IAwBlB;;OAEG;;IAGH;;OAEG;kBACW,QAAQ,IAAI,CAAC;IAO3B;;OAEG;;IAKH;;;;;OAKG;6BACsB,MAAM,YAAY,MAAM,GAAG,IAAI;IAIxD;;;;;;;;OAQG;2CAE2B,eAAe,mBAC1B,cAAc,GAC9B,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC;IAsB/B;;;;;;;;OAQG;kCAEmB,uBAAuB,GAAG,kBAAkB,mBAC/C,cAAc,GAC9B,QAAQ,gBAAgB,CAAC,CAAC,CAAC;EAuDjC"}
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
- * 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. `inference`: required to access the Inference API. `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.
4
+ * Access control list permissions.
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 batch operation.
4
+ * Type of indexing operation.
5
5
  */
6
6
  export type Action =
7
7
  | 'addObject'
@@ -7,7 +7,7 @@ export type AddApiKeyResponse = {
7
7
  key: string;
8
8
 
9
9
  /**
10
- * Timestamp of creation in [ISO-8601](https://wikipedia.org/wiki/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 matches the beginning (`startsWith`) or end (`endsWith`) of the query string, is an exact match (`is`), or a partial match (`contains`).
4
+ * Which part of the search query the pattern should match: - `startsWith`. The pattern must match the begginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`. The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the query. Empty queries are only allowed as pattern with `anchoring: is`.
5
5
  */
6
6
  export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
@@ -7,42 +7,42 @@ import type { Acl } from './acl';
7
7
  */
8
8
  export type ApiKey = {
9
9
  /**
10
- * [Permissions](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl) associated with the key.
10
+ * Permissions that determine the type of API requests this key can make. The required ACL is listed in each endpoint\'s reference. For more information, see [access control list](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl).
11
11
  */
12
12
  acl: Acl[];
13
13
 
14
14
  /**
15
- * Description of an API key for you and your team members.
15
+ * Description of an API key to help you identify this API key.
16
16
  */
17
17
  description?: string;
18
18
 
19
19
  /**
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_\".
20
+ * Index names or patterns that this API key can access. By default, an API key can access all indices in the same application. You can use leading and trailing wildcard characters (`*`): - `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. > **Note**: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.
25
+ * Maximum number of results this API key can retrieve in one query. By default, there\'s no limit.
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 [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.
30
+ * Maximum number of API requests allowed per IP address or [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/) per hour. If this limit is reached, the API returns an error with status code `429`. By default, there\'s no limit.
31
31
  */
32
32
  maxQueriesPerIPPerHour?: number;
33
33
 
34
34
  /**
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.
35
+ * Query parameters to add when making API requests with this API key. To restrict this API key to specific IP addresses, add the `restrictSources` parameter. You can only add a single source, but you can provide a range of IP addresses. Creating an API key fails if the request is made from an IP address that\'s outside the restricted range.
36
36
  */
37
37
  queryParameters?: string;
38
38
 
39
39
  /**
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\".
40
+ * Allowed HTTP referrers for this API key. By default, all referrers are allowed. You can use leading and trailing wildcard characters (`*`): - `https://algolia.com/_*` allows all referrers starting with \"https://algolia.com/\" - `*.algolia.com` allows all referrers ending with \".algolia.com\" - `*algolia.com*` allows all referrers in the domain \"algolia.com\". Like all HTTP headers, referrers can be spoofed. Don\'t rely on them to secure your data. For more information, see [HTTP referrer restrictions](https://www.algolia.com/doc/guides/security/security-best-practices/#http-referrers-restrictions).
41
41
  */
42
42
  referers?: string[];
43
43
 
44
44
  /**
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.
45
+ * Duration (in seconds) after which the API key expires. By default, API keys don\'t expire.
46
46
  */
47
47
  validity?: number;
48
48
  };
@@ -3,6 +3,6 @@
3
3
  import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
4
4
 
5
5
  /**
6
- * 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/).
6
+ * Precision of a coordinate-based search in meters to group results with similar distances. The Geo ranking criterion considers all matches within the same range of distances to be equal.
7
7
  */
8
8
  export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
@@ -1,7 +1,16 @@
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
+ /**
4
+ * Range object with lower and upper values in meters to define custom ranges.
5
+ */
3
6
  export type AroundPrecisionFromValueInner = {
7
+ /**
8
+ * Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
9
+ */
4
10
  from?: number;
5
11
 
12
+ /**
13
+ * Upper boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
14
+ */
6
15
  value?: number;
7
16
  };
@@ -3,6 +3,6 @@
3
3
  import type { AroundRadiusAll } from './aroundRadiusAll';
4
4
 
5
5
  /**
6
- * [Maximum radius](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#increase-the-search-radius) for a geographical search (in meters).
6
+ * Maximum radius for a search around a central location. This parameter works in combination with the `aroundLatLng` and `aroundLatLngViaIP` parameters. By default, the search radius is determined automatically from the density of hits around the central location. The search radius is small if there are many hits close to the central coordinates.
7
7
  */
8
8
  export type AroundRadius = AroundRadiusAll | number;
@@ -1,3 +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
+ /**
4
+ * Return all records with a valid `_geoloc` attribute. Don\'t filter by distance.
5
+ */
3
6
  export type AroundRadiusAll = 'all';
@@ -1,21 +1,21 @@
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
- * Automatic facet Filter.
4
+ * Filter or optional filter to be applied to the search.
5
5
  */
6
6
  export type AutomaticFacetFilter = {
7
7
  /**
8
- * Attribute to filter on. This must match a facet placeholder in the Rule\'s pattern.
8
+ * Facet name to be applied as filter. The name must match placeholders in the `pattern` parameter. For example, with `pattern: {facet:genre}`, `automaticFacetFilters` must be `genre`.
9
9
  */
10
10
  facet: string;
11
11
 
12
12
  /**
13
- * Score for the filter. Typically used for optional or disjunctive filters.
13
+ * Filter scores to give different weights to individual filters.
14
14
  */
15
15
  score?: number;
16
16
 
17
17
  /**
18
- * Whether the filter is disjunctive (true) or conjunctive (false).
18
+ * Whether the filter is disjunctive or conjunctive. If true the filter has multiple matches, multiple occurences are combined with the logical `OR` operation. If false, multiple occurences are combined with the logical `AND` operation.
19
19
  */
20
20
  disjunctive?: boolean;
21
21
  };
@@ -3,6 +3,6 @@
3
3
  import type { AutomaticFacetFilter } from './automaticFacetFilter';
4
4
 
5
5
  /**
6
- * Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.
6
+ * Filter to be applied to the search. You can use this to respond to search queries that match a facet value. For example, if users search for \"comedy\", which matches a facet value of the \"genre\" facet, you can filter the results to show the top-ranked comedy movies.
7
7
  */
8
8
  export type AutomaticFacetFilters = AutomaticFacetFilter[] | string[];
@@ -2,82 +2,87 @@
2
2
 
3
3
  export type BaseIndexSettings = {
4
4
  /**
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.
5
+ * Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/). Facets are ways to categorize search results based on attributes. Facets can be used to let user filter search results. By default, no attribute is used for faceting. **Modifiers** <dl> <dt><code>filterOnly(\"ATTRIBUTE\")</code></dt> <dd>Allows using this attribute as a filter, but doesn\'t evalue the facet values.</dd> <dt><code>searchable(\"ATTRIBUTE\")</code></dt> <dd>Allows searching for facet values.</dd> <dt><code>afterDistinct(\"ATTRIBUTE\")</code></dt> <dd> Evaluates the facet count _after_ deduplication with `distinct`. This ensures accurate facet counts. You can apply this modifier to searchable facets: `afterDistinct(searchable(ATTRIBUTE))`. </dd> </dl> Without modifiers, the attribute is used as a regular facet.
6
+ */
7
+ attributesForFaceting?: string[];
8
+
9
+ /**
10
+ * Creates [replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/). Replicas are copies of a primary index with the same records but different settings, synonyms, or rules. If you want to offer a different ranking or sorting of your search results, you\'ll use replica indices. All index operations on a primary index are automatically forwarded to its replicas. To add a replica index, you must provide the complete set of replicas to this parameter. If you omit a replica from this list, the replica turns into a regular, standalone index that will no longer by synced with the primary index. **Modifier** <dl> <dt><code>virtual(\"REPLICA\")</code></dt> <dd> Create a virtual replica, Virtual replicas don\'t increase the number of records and are optimized for [Relevant sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort/). </dd> </dl> Without modifier, a standard replica is created, which duplicates your record count and is used for strict, or [exhaustive sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/exhaustive-sort/).
6
11
  */
7
12
  replicas?: string[];
8
13
 
9
14
  /**
10
- * Maximum number of hits accessible through pagination.
15
+ * Maximum number of search results that can be obtained through pagination. Higher pagination limits might slow down your search. For pagination limits above 1,000, the sorting of results beyond the 1,000th hit can\'t be guaranteed.
11
16
  */
12
17
  paginationLimitedTo?: number;
13
18
 
14
19
  /**
15
- * Attributes that can\'t be retrieved at query time.
20
+ * Attributes that can\'t be retrieved at query time. This can be useful if you want to use an attribute for ranking or to [restrict access](https://www.algolia.com/doc/guides/security/api-keys/how-to/user-restricted-access-to-data/), but don\'t want to include it in the search results.
16
21
  */
17
22
  unretrievableAttributes?: string[];
18
23
 
19
24
  /**
20
- * Words for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
25
+ * Words for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). This also turns off [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) for the specified words.
21
26
  */
22
27
  disableTypoToleranceOnWords?: string[];
23
28
 
24
29
  /**
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.
30
+ * Attributes, for which you want to support [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). Transliteration supports searching in any of the Japanese writing systems. To support transliteration, you must set the indexing language to Japanese.
26
31
  */
27
32
  attributesToTransliterate?: string[];
28
33
 
29
34
  /**
30
- * Attributes on which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.
35
+ * Attributes for which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.
31
36
  */
32
37
  camelCaseAttributes?: string[];
33
38
 
34
39
  /**
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.
40
+ * Searchable attributes to which Algolia should apply [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding). Compound words are formed by combining two or more individual words, and are particularly prevalent in Germanic languages—for example, \"firefighter\". With decompounding, the individual components are indexed separately. You can specify different lists for different languages. Decompounding is supported for these languages: Dutch (`nl`), German (`de`), Finnish (`fi`), Danish (`da`), Swedish (`sv`), and Norwegian (`no`).
36
41
  */
37
42
  decompoundedAttributes?: Record<string, any>;
38
43
 
39
44
  /**
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/).
45
+ * [ISO code](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) for a language for language-specific processing steps, such as word detection and dictionary settings. **You should always specify an indexing language.** If you don\'t specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/).
41
46
  */
42
47
  indexLanguages?: string[];
43
48
 
44
49
  /**
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).
50
+ * Searchable 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
51
  */
47
52
  disablePrefixOnAttributes?: string[];
48
53
 
49
54
  /**
50
- * Incidates whether the engine compresses arrays with exclusively non-negative integers. When enabled, the compressed arrays may be reordered.
55
+ * Whether arrays with exclusively non-negative integers should be compressed for better performance. If true, the compressed arrays may be reordered.
51
56
  */
52
57
  allowCompressionOfIntegerArray?: boolean;
53
58
 
54
59
  /**
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).
60
+ * 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). By default, all numeric attributes are available as numerical filters. For faster indexing, reduce the number of numeric attributes. If you want to turn off filtering for all numeric attributes, specifiy an attribute that doesn\'t exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** <dl> <dt><code>equalOnly(\"ATTRIBUTE\")</code></dt> <dd> Support only filtering based on equality comparisons `=` and `!=`. </dd> </dl> Without modifier, all numeric comparisons are supported.
56
61
  */
57
62
  numericAttributesForFiltering?: string[];
58
63
 
59
64
  /**
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 $€£¥.
65
+ * Controls which separators are indexed. Separators are all non-letter characters except spaces and currency characters, such as $€£¥. By default, separator characters aren\'t indexed. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, a search for `C#` would report two matches.
61
66
  */
62
67
  separatorsToIndex?: string;
63
68
 
64
69
  /**
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).
70
+ * Attributes used for searching. By default, all attributes are searchable and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute) ranking criterion is turned off. With a non-empty list, Algolia only returns results with matches in the selected attributes. In addition, the Attribute ranking criterion is turned on: matches in attributes that are higher in the list of `searchableAttributes` rank first. To make matches in two attributes rank equally, include them in a comma-separated string, such as `\"title,alternate_title\"`. Attributes with the same priority are always unordered. For more information, see [Searchable attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/). **Modifier** <dl> <dt><code>unordered(\"ATTRIBUTE\")</code></dt> <dd> Ignore the position of a match within the attribute. </dd> </dl> Without modifier, matches at the beginning of an attribute rank higer than matches at the end.
66
71
  */
67
72
  searchableAttributes?: string[];
68
73
 
69
74
  /**
70
- * Lets you store custom data in your indices.
75
+ * An object with custom data. You can store up to 32&nbsp;kB as custom data.
71
76
  */
72
77
  userData?: any | null;
73
78
 
74
79
  /**
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/).
80
+ * Characters and their normalized replacements. This overrides Algolia\'s default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
76
81
  */
77
82
  customNormalization?: Record<string, Record<string, string>>;
78
83
 
79
84
  /**
80
- * 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).
85
+ * Attribute that should be used to establish groups of results. All records with the same value for this attribute are considered a group. You can combine `attributeForDistinct` with the `distinct` search parameter to control how many items per group are included in the search results. If you want to use the same attribute also for faceting, use the `afterDistinct` modifier of the `attributesForFaceting` setting. This applies faceting _after_ deduplication, which will result in accurate facet counts.
81
86
  */
82
87
  attributeForDistinct?: string;
83
88
  };