@algolia/recommend 5.0.0-alpha.72 → 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 (154) hide show
  1. package/dist/model/anchoring.d.ts +5 -0
  2. package/dist/model/anchoring.d.ts.map +1 -0
  3. package/dist/model/aroundRadius.d.ts +1 -1
  4. package/dist/model/automaticFacetFilter.d.ts +18 -0
  5. package/dist/model/automaticFacetFilter.d.ts.map +1 -0
  6. package/dist/model/automaticFacetFilters.d.ts +6 -0
  7. package/dist/model/automaticFacetFilters.d.ts.map +1 -0
  8. package/dist/model/baseRecommendRequest.d.ts +3 -3
  9. package/dist/model/baseRecommendationRequest.d.ts +1 -1
  10. package/dist/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  11. package/dist/model/baseSearchResponse.d.ts +20 -20
  12. package/dist/model/baseSearchResponseRedirect.d.ts +1 -1
  13. package/dist/model/baseTrendingRequest.d.ts +2 -2
  14. package/dist/model/clientMethodProps.d.ts +77 -10
  15. package/dist/model/clientMethodProps.d.ts.map +1 -1
  16. package/dist/model/condition.d.ts +17 -0
  17. package/dist/model/condition.d.ts.map +1 -0
  18. package/dist/model/consequence.d.ts +26 -0
  19. package/dist/model/consequence.d.ts.map +1 -0
  20. package/dist/model/consequenceHide.d.ts +10 -0
  21. package/dist/model/consequenceHide.d.ts.map +1 -0
  22. package/dist/model/consequenceParams.d.ts +5 -0
  23. package/dist/model/consequenceParams.d.ts.map +1 -0
  24. package/dist/model/consequenceQuery.d.ts +6 -0
  25. package/dist/model/consequenceQuery.d.ts.map +1 -0
  26. package/dist/model/consequenceQueryObject.d.ts +12 -0
  27. package/dist/model/consequenceQueryObject.d.ts.map +1 -0
  28. package/dist/model/deletedAtResponse.d.ts +14 -0
  29. package/dist/model/deletedAtResponse.d.ts.map +1 -0
  30. package/dist/model/distinct.d.ts +1 -1
  31. package/dist/model/edit.d.ts +13 -0
  32. package/dist/model/edit.d.ts.map +1 -0
  33. package/dist/model/editType.d.ts +5 -0
  34. package/dist/model/editType.d.ts.map +1 -0
  35. package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
  36. package/dist/model/facetFilters.d.ts +1 -1
  37. package/dist/model/facetOrdering.d.ts +2 -2
  38. package/dist/model/facets.d.ts +1 -1
  39. package/dist/model/facetsStats.d.ts +4 -4
  40. package/dist/model/getRecommendTaskResponse.d.ts +5 -0
  41. package/dist/model/getRecommendTaskResponse.d.ts.map +1 -0
  42. package/dist/model/getRecommendationsParams.d.ts +2 -2
  43. package/dist/model/highlightResultOption.d.ts +1 -1
  44. package/dist/model/ignorePlurals.d.ts +1 -1
  45. package/dist/model/index.d.ts +23 -0
  46. package/dist/model/index.d.ts.map +1 -1
  47. package/dist/model/indexSettingsAsSearchParams.d.ts +30 -30
  48. package/dist/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  49. package/dist/model/mode.d.ts +1 -1
  50. package/dist/model/numericFilters.d.ts +1 -1
  51. package/dist/model/optionalFilters.d.ts +1 -1
  52. package/dist/model/params.d.ts +13 -0
  53. package/dist/model/params.d.ts.map +1 -0
  54. package/dist/model/promote.d.ts +4 -0
  55. package/dist/model/promote.d.ts.map +1 -0
  56. package/dist/model/promoteObjectID.d.ts +14 -0
  57. package/dist/model/promoteObjectID.d.ts.map +1 -0
  58. package/dist/model/promoteObjectIDs.d.ts +14 -0
  59. package/dist/model/promoteObjectIDs.d.ts.map +1 -0
  60. package/dist/model/queryType.d.ts +1 -1
  61. package/dist/model/reRankingApplyFilter.d.ts +1 -1
  62. package/dist/model/recommendHit.d.ts +3 -3
  63. package/dist/model/recommendModels.d.ts +2 -0
  64. package/dist/model/recommendModels.d.ts.map +1 -0
  65. package/dist/model/recommendationModels.d.ts +1 -1
  66. package/dist/model/redirectRuleIndexMetadata.d.ts +1 -1
  67. package/dist/model/redirectRuleIndexMetadataData.d.ts +1 -1
  68. package/dist/model/removeStopWords.d.ts +1 -1
  69. package/dist/model/removeWordsIfNoResults.d.ts +1 -1
  70. package/dist/model/renderingContent.d.ts +1 -1
  71. package/dist/model/ruleResponse.d.ts +27 -0
  72. package/dist/model/ruleResponse.d.ts.map +1 -0
  73. package/dist/model/ruleResponseMetadata.d.ts +7 -0
  74. package/dist/model/ruleResponseMetadata.d.ts.map +1 -0
  75. package/dist/model/searchParamsQuery.d.ts +1 -1
  76. package/dist/model/searchRecommendRulesParams.d.ts +30 -0
  77. package/dist/model/searchRecommendRulesParams.d.ts.map +1 -0
  78. package/dist/model/searchRecommendRulesResponse.d.ts +20 -0
  79. package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -0
  80. package/dist/model/snippetResultOption.d.ts +1 -1
  81. package/dist/model/sortRemainingBy.d.ts +1 -1
  82. package/dist/model/tagFilters.d.ts +1 -1
  83. package/dist/model/taskStatus.d.ts +5 -0
  84. package/dist/model/taskStatus.d.ts.map +1 -0
  85. package/dist/model/trendingModels.d.ts +1 -1
  86. package/dist/model/typoTolerance.d.ts +1 -1
  87. package/dist/recommend.cjs.js +148 -15
  88. package/dist/recommend.esm.browser.js +148 -13
  89. package/dist/recommend.esm.node.js +148 -13
  90. package/dist/recommend.umd.js +2 -2
  91. package/dist/src/recommendClient.d.ts +62 -14
  92. package/dist/src/recommendClient.d.ts.map +1 -1
  93. package/model/anchoring.ts +6 -0
  94. package/model/aroundRadius.ts +1 -1
  95. package/model/automaticFacetFilter.ts +21 -0
  96. package/model/automaticFacetFilters.ts +8 -0
  97. package/model/baseRecommendRequest.ts +3 -3
  98. package/model/baseRecommendationRequest.ts +1 -1
  99. package/model/baseSearchParamsWithoutQuery.ts +25 -25
  100. package/model/baseSearchResponse.ts +20 -20
  101. package/model/baseSearchResponseRedirect.ts +1 -1
  102. package/model/baseTrendingRequest.ts +2 -2
  103. package/model/clientMethodProps.ts +82 -10
  104. package/model/condition.ts +22 -0
  105. package/model/consequence.ts +32 -0
  106. package/model/consequenceHide.ts +11 -0
  107. package/model/consequenceParams.ts +9 -0
  108. package/model/consequenceQuery.ts +8 -0
  109. package/model/consequenceQueryObject.ts +15 -0
  110. package/model/deletedAtResponse.ts +16 -0
  111. package/model/distinct.ts +1 -1
  112. package/model/edit.ts +17 -0
  113. package/model/editType.ts +6 -0
  114. package/model/exactOnSingleWordQuery.ts +1 -1
  115. package/model/facetFilters.ts +1 -1
  116. package/model/facetOrdering.ts +2 -2
  117. package/model/facets.ts +1 -1
  118. package/model/facetsStats.ts +4 -4
  119. package/model/getRecommendTaskResponse.ts +7 -0
  120. package/model/getRecommendationsParams.ts +2 -2
  121. package/model/highlightResultOption.ts +1 -1
  122. package/model/ignorePlurals.ts +1 -1
  123. package/model/index.ts +23 -0
  124. package/model/indexSettingsAsSearchParams.ts +30 -30
  125. package/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  126. package/model/mode.ts +1 -1
  127. package/model/numericFilters.ts +1 -1
  128. package/model/optionalFilters.ts +1 -1
  129. package/model/params.ts +18 -0
  130. package/model/promote.ts +6 -0
  131. package/model/promoteObjectID.ts +16 -0
  132. package/model/promoteObjectIDs.ts +16 -0
  133. package/model/queryType.ts +1 -1
  134. package/model/reRankingApplyFilter.ts +1 -1
  135. package/model/recommendHit.ts +3 -3
  136. package/model/recommendModels.ts +7 -0
  137. package/model/recommendationModels.ts +1 -1
  138. package/model/redirectRuleIndexMetadata.ts +1 -1
  139. package/model/redirectRuleIndexMetadataData.ts +1 -1
  140. package/model/removeStopWords.ts +1 -1
  141. package/model/removeWordsIfNoResults.ts +1 -1
  142. package/model/renderingContent.ts +1 -1
  143. package/model/ruleResponse.ts +34 -0
  144. package/model/ruleResponseMetadata.ts +8 -0
  145. package/model/searchParamsQuery.ts +1 -1
  146. package/model/searchRecommendRulesParams.ts +36 -0
  147. package/model/searchRecommendRulesResponse.ts +25 -0
  148. package/model/snippetResultOption.ts +1 -1
  149. package/model/sortRemainingBy.ts +1 -1
  150. package/model/tagFilters.ts +1 -1
  151. package/model/taskStatus.ts +6 -0
  152. package/model/trendingModels.ts +1 -1
  153. package/model/typoTolerance.ts +1 -1
  154. package/package.json +8 -7
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Response, taskID, and deletion timestamp.
3
+ */
4
+ export type DeletedAtResponse = {
5
+ /**
6
+ * 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`.
7
+ */
8
+ taskID: number;
9
+ /**
10
+ * Timestamp of deletion in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
11
+ */
12
+ deletedAt: string;
13
+ };
14
+ //# sourceMappingURL=deletedAtResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deletedAtResponse.d.ts","sourceRoot":"","sources":["../../model/deletedAtResponse.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -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
@@ -0,0 +1,13 @@
1
+ import type { EditType } from './editType';
2
+ export type Edit = {
3
+ type?: EditType;
4
+ /**
5
+ * Text or patterns to remove from the query string.
6
+ */
7
+ delete?: string;
8
+ /**
9
+ * Text that should be inserted in place of the removed text inside the query string.
10
+ */
11
+ insert?: string;
12
+ };
13
+ //# sourceMappingURL=edit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../model/edit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Type of edit.
3
+ */
4
+ export type EditType = 'remove' | 'replace';
5
+ //# sourceMappingURL=editType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editType.d.ts","sourceRoot":"","sources":["../../model/editType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC"}
@@ -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
  };
@@ -0,0 +1,5 @@
1
+ import type { TaskStatus } from './taskStatus';
2
+ export type GetRecommendTaskResponse = {
3
+ status: TaskStatus;
4
+ };
5
+ //# sourceMappingURL=getRecommendTaskResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRecommendTaskResponse.d.ts","sourceRoot":"","sources":["../../model/getRecommendTaskResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import type { RecommendationsRequest } from './recommendationsRequest';
2
2
  /**
3
- * The `getRecommendations` parameters.
3
+ * Recommend parameters.
4
4
  */
5
5
  export type GetRecommendationsParams = {
6
6
  /**
7
- * The `getRecommendations` requests.
7
+ * Request parameters depend on the model (recommendations or trending).
8
8
  */
9
9
  requests: RecommendationsRequest[];
10
10
  };
@@ -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;
@@ -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,10 @@
1
1
  export * from './advancedSyntaxFeatures';
2
2
  export * from './alternativesAsExact';
3
+ export * from './anchoring';
3
4
  export * from './aroundRadius';
4
5
  export * from './aroundRadiusAll';
6
+ export * from './automaticFacetFilter';
7
+ export * from './automaticFacetFilters';
5
8
  export * from './baseRecommendRequest';
6
9
  export * from './baseRecommendationRequest';
7
10
  export * from './baseSearchParams';
@@ -9,13 +12,23 @@ export * from './baseSearchParamsWithoutQuery';
9
12
  export * from './baseSearchResponse';
10
13
  export * from './baseSearchResponseRedirect';
11
14
  export * from './baseTrendingRequest';
15
+ export * from './condition';
16
+ export * from './consequence';
17
+ export * from './consequenceHide';
18
+ export * from './consequenceParams';
19
+ export * from './consequenceQuery';
20
+ export * from './consequenceQueryObject';
21
+ export * from './deletedAtResponse';
12
22
  export * from './distinct';
23
+ export * from './edit';
24
+ export * from './editType';
13
25
  export * from './errorBase';
14
26
  export * from './exactOnSingleWordQuery';
15
27
  export * from './facetFilters';
16
28
  export * from './facetOrdering';
17
29
  export * from './facets';
18
30
  export * from './facetsStats';
31
+ export * from './getRecommendTaskResponse';
19
32
  export * from './getRecommendationsParams';
20
33
  export * from './getRecommendationsResponse';
21
34
  export * from './highlightResult';
@@ -29,12 +42,17 @@ export * from './mixedSearchFilters';
29
42
  export * from './mode';
30
43
  export * from './numericFilters';
31
44
  export * from './optionalFilters';
45
+ export * from './params';
32
46
  export * from './personalization';
47
+ export * from './promote';
48
+ export * from './promoteObjectID';
49
+ export * from './promoteObjectIDs';
33
50
  export * from './queryType';
34
51
  export * from './rankingInfo';
35
52
  export * from './reRankingApplyFilter';
36
53
  export * from './recommendHit';
37
54
  export * from './recommendHits';
55
+ export * from './recommendModels';
38
56
  export * from './recommendationModels';
39
57
  export * from './recommendationRequest';
40
58
  export * from './recommendationsRequest';
@@ -44,12 +62,17 @@ export * from './redirectRuleIndexMetadataData';
44
62
  export * from './removeStopWords';
45
63
  export * from './removeWordsIfNoResults';
46
64
  export * from './renderingContent';
65
+ export * from './ruleResponse';
66
+ export * from './ruleResponseMetadata';
47
67
  export * from './searchParamsObject';
48
68
  export * from './searchParamsQuery';
69
+ export * from './searchRecommendRulesParams';
70
+ export * from './searchRecommendRulesResponse';
49
71
  export * from './snippetResult';
50
72
  export * from './snippetResultOption';
51
73
  export * from './sortRemainingBy';
52
74
  export * from './tagFilters';
75
+ export * from './taskStatus';
53
76
  export * from './trendingModels';
54
77
  export * from './trendingRequest';
55
78
  export * from './typoTolerance';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names":[],"mappings":"AAEA,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names":[],"mappings":"AAEA,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
@@ -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,5 +1,5 @@
1
1
  /**
2
- * The search mode that the index will use to query for results.
2
+ * Search mode the index will use to query for results.
3
3
  */
4
4
  export type Mode = 'keywordSearch' | 'neuralSearch';
5
5
  //# sourceMappingURL=mode.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
3
- * Filter on numeric attributes.
3
+ * [Filter on numeric attributes](https://www.algolia.com/doc/api-reference/api-parameters/numericFilters/).
4
4
  */
5
5
  export type NumericFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=numericFilters.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
3
- * Create filters for ranking purposes, where records that match the filter are ranked higher, or lower in the case of a negative optional filter.
3
+ * Create filters to boost or demote records. Records that match the filter are ranked higher for positive and lower for negative optional filters. In contrast to regular filters, records that don\'t match the optional filter are still included in the results, only their ranking is affected.
4
4
  */
5
5
  export type OptionalFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=optionalFilters.d.ts.map
@@ -0,0 +1,13 @@
1
+ import type { AutomaticFacetFilters } from './automaticFacetFilters';
2
+ import type { ConsequenceQuery } from './consequenceQuery';
3
+ import type { RenderingContent } from './renderingContent';
4
+ /**
5
+ * Additional search parameters.
6
+ */
7
+ export type Params = {
8
+ query?: ConsequenceQuery;
9
+ automaticFacetFilters?: AutomaticFacetFilters;
10
+ automaticOptionalFacetFilters?: AutomaticFacetFilters;
11
+ renderingContent?: RenderingContent;
12
+ };
13
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../model/params.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAE9C,6BAA6B,CAAC,EAAE,qBAAqB,CAAC;IAEtD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { PromoteObjectID } from './promoteObjectID';
2
+ import type { PromoteObjectIDs } from './promoteObjectIDs';
3
+ export type Promote = PromoteObjectID | PromoteObjectIDs;
4
+ //# sourceMappingURL=promote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promote.d.ts","sourceRoot":"","sources":["../../model/promote.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Record to promote.
3
+ */
4
+ export type PromoteObjectID = {
5
+ /**
6
+ * Unique identifier of the record to promote.
7
+ */
8
+ objectID: string;
9
+ /**
10
+ * The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.
11
+ */
12
+ position: number;
13
+ };
14
+ //# sourceMappingURL=promoteObjectID.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promoteObjectID.d.ts","sourceRoot":"","sources":["../../model/promoteObjectID.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Records to promote.
3
+ */
4
+ export type PromoteObjectIDs = {
5
+ /**
6
+ * Unique identifiers of the records to promote.
7
+ */
8
+ objectIDs: string[];
9
+ /**
10
+ * The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.
11
+ */
12
+ position: number;
13
+ };
14
+ //# sourceMappingURL=promoteObjectIDs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promoteObjectIDs.d.ts","sourceRoot":"","sources":["../../model/promoteObjectIDs.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Controls if and how query words are interpreted as prefixes.
2
+ * Determines how query words are [interpreted as prefixes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching/).
3
3
  */
4
4
  export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
5
5
  //# sourceMappingURL=queryType.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
3
- * When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
3
+ * When [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) is enabled, only records that match these filters will be affected by Dynamic Re-Ranking.
4
4
  */
5
5
  export type ReRankingApplyFilter = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=reRankingApplyFilter.d.ts.map
@@ -2,11 +2,11 @@ import type { HighlightResult } from './highlightResult';
2
2
  import type { RankingInfo } from './rankingInfo';
3
3
  import type { SnippetResult } from './snippetResult';
4
4
  /**
5
- * A Recommend hit.
5
+ * Recommend hit.
6
6
  */
7
7
  export type RecommendHit = Record<string, any> & {
8
8
  /**
9
- * Unique identifier of the object.
9
+ * Unique object identifier.
10
10
  */
11
11
  objectID: string;
12
12
  /**
@@ -20,7 +20,7 @@ export type RecommendHit = Record<string, any> & {
20
20
  _rankingInfo?: RankingInfo;
21
21
  _distinctSeqID?: number;
22
22
  /**
23
- * The recommendation score.
23
+ * Recommendation score.
24
24
  */
25
25
  _score: number;
26
26
  };
@@ -0,0 +1,2 @@
1
+ export type RecommendModels = 'bought-together' | 'related-products' | 'trending-facets' | 'trending-items';
2
+ //# sourceMappingURL=recommendModels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommendModels.d.ts","sourceRoot":"","sources":["../../model/recommendModels.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GACvB,iBAAiB,GACjB,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The recommendation model to use.
2
+ * Recommendation model.
3
3
  */
4
4
  export type RecommendationModels = 'bought-together' | 'related-products';
5
5
  //# sourceMappingURL=recommendationModels.d.ts.map
@@ -13,7 +13,7 @@ export type RedirectRuleIndexMetadata = {
13
13
  */
14
14
  reason: string;
15
15
  /**
16
- * Status for the redirect rule.
16
+ * Redirect rule status.
17
17
  */
18
18
  succeed: boolean;
19
19
  data: RedirectRuleIndexMetadataData;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Data for the redirect rule.
2
+ * Redirect rule data.
3
3
  */
4
4
  export type RedirectRuleIndexMetadataData = {
5
5
  ruleObjectID: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Removes stop (common) words from the query before executing it. RemoveStopWords 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 stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
2
+ * Removes stop (common) words from the query before executing it. `removeStopWords` is used in conjunction with the `queryLanguages` setting. _list_: language ISO codes for which stop words should be enabled. This list will override any values that you may have set in `queryLanguages`. _true_: enables the stop words feature, ensuring that stop words are removed from consideration in a search. 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 stop words feature, allowing stop words to be taken into account in a search.
3
3
  */
4
4
  export type RemoveStopWords = string[] | boolean;
5
5
  //# sourceMappingURL=removeStopWords.d.ts.map