@algolia/recommend 5.0.0-alpha.106 → 5.0.0-alpha.108

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 (129) hide show
  1. package/dist/model/anchoring.d.ts +1 -1
  2. package/dist/model/aroundPrecision.d.ts +1 -1
  3. package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
  4. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  5. package/dist/model/aroundRadius.d.ts +1 -1
  6. package/dist/model/aroundRadiusAll.d.ts +3 -0
  7. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  8. package/dist/model/automaticFacetFilter.d.ts +4 -4
  9. package/dist/model/automaticFacetFilters.d.ts +1 -1
  10. package/dist/model/baseRecommendRequest.d.ts +1 -1
  11. package/dist/model/baseRecommendationsQuery.d.ts +1 -1
  12. package/dist/model/baseRecommendedForYouQueryParameters.d.ts +1 -1
  13. package/dist/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  14. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  15. package/dist/model/baseSearchResponse.d.ts +6 -6
  16. package/dist/model/clientMethodProps.d.ts +6 -6
  17. package/dist/model/condition.d.ts +7 -3
  18. package/dist/model/condition.d.ts.map +1 -1
  19. package/dist/model/consequence.d.ts +5 -5
  20. package/dist/model/consequenceHide.d.ts +2 -2
  21. package/dist/model/consequenceQuery.d.ts +1 -1
  22. package/dist/model/consequenceQueryObject.d.ts +2 -2
  23. package/dist/model/deletedAtResponse.d.ts +1 -1
  24. package/dist/model/distinct.d.ts +1 -1
  25. package/dist/model/edit.d.ts +1 -1
  26. package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
  27. package/dist/model/facetFilters.d.ts +1 -1
  28. package/dist/model/facetOrdering.d.ts +2 -2
  29. package/dist/model/facets.d.ts +2 -2
  30. package/dist/model/highlightResultOption.d.ts +3 -3
  31. package/dist/model/ignorePlurals.d.ts +3 -2
  32. package/dist/model/ignorePlurals.d.ts.map +1 -1
  33. package/dist/model/index.d.ts +1 -0
  34. package/dist/model/index.d.ts.map +1 -1
  35. package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
  36. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  37. package/dist/model/matchLevel.d.ts +1 -1
  38. package/dist/model/mode.d.ts +1 -1
  39. package/dist/model/numericFilters.d.ts +1 -1
  40. package/dist/model/optionalFilters.d.ts +1 -1
  41. package/dist/model/params.d.ts +1 -1
  42. package/dist/model/promoteObjectID.d.ts +2 -2
  43. package/dist/model/promoteObjectIDs.d.ts +2 -2
  44. package/dist/model/queryType.d.ts +1 -1
  45. package/dist/model/rankingInfo.d.ts +10 -7
  46. package/dist/model/rankingInfo.d.ts.map +1 -1
  47. package/dist/model/reRankingApplyFilter.d.ts +1 -1
  48. package/dist/model/recommendHit.d.ts +3 -3
  49. package/dist/model/recommendationsHits.d.ts +1 -1
  50. package/dist/model/removeStopWords.d.ts +3 -2
  51. package/dist/model/removeStopWords.d.ts.map +1 -1
  52. package/dist/model/removeWordsIfNoResults.d.ts +1 -1
  53. package/dist/model/renderingContent.d.ts +1 -1
  54. package/dist/model/searchParamsQuery.d.ts +1 -1
  55. package/dist/model/searchRecommendRulesParams.d.ts +2 -2
  56. package/dist/model/searchRecommendRulesResponse.d.ts +3 -3
  57. package/dist/model/semanticSearch.d.ts +2 -2
  58. package/dist/model/snippetResultOption.d.ts +2 -2
  59. package/dist/model/sortRemainingBy.d.ts +1 -1
  60. package/dist/model/supportedLanguage.d.ts +5 -0
  61. package/dist/model/supportedLanguage.d.ts.map +1 -0
  62. package/dist/model/tagFilters.d.ts +1 -1
  63. package/dist/model/taskStatus.d.ts +1 -1
  64. package/dist/model/typoTolerance.d.ts +1 -1
  65. package/dist/model/typoToleranceEnum.d.ts +3 -0
  66. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  67. package/dist/model/value.d.ts +1 -1
  68. package/dist/recommend.cjs +7 -7
  69. package/dist/recommend.esm.browser.js +7 -7
  70. package/dist/recommend.esm.node.js +7 -7
  71. package/dist/recommend.umd.js +2 -2
  72. package/dist/src/recommendClient.d.ts +7 -7
  73. package/model/anchoring.ts +1 -1
  74. package/model/aroundPrecision.ts +1 -1
  75. package/model/aroundPrecisionFromValueInner.ts +9 -0
  76. package/model/aroundRadius.ts +1 -1
  77. package/model/aroundRadiusAll.ts +3 -0
  78. package/model/automaticFacetFilter.ts +4 -4
  79. package/model/automaticFacetFilters.ts +1 -1
  80. package/model/baseRecommendRequest.ts +1 -1
  81. package/model/baseRecommendationsQuery.ts +1 -1
  82. package/model/baseRecommendedForYouQueryParameters.ts +1 -1
  83. package/model/baseSearchParamsWithoutQuery.ts +24 -29
  84. package/model/baseSearchResponse.ts +6 -6
  85. package/model/clientMethodProps.ts +6 -6
  86. package/model/condition.ts +8 -3
  87. package/model/consequence.ts +5 -5
  88. package/model/consequenceHide.ts +2 -2
  89. package/model/consequenceQuery.ts +1 -1
  90. package/model/consequenceQueryObject.ts +2 -2
  91. package/model/deletedAtResponse.ts +1 -1
  92. package/model/distinct.ts +1 -1
  93. package/model/edit.ts +1 -1
  94. package/model/exactOnSingleWordQuery.ts +1 -1
  95. package/model/facetFilters.ts +1 -1
  96. package/model/facetOrdering.ts +2 -2
  97. package/model/facets.ts +2 -2
  98. package/model/highlightResultOption.ts +3 -3
  99. package/model/ignorePlurals.ts +4 -2
  100. package/model/index.ts +1 -0
  101. package/model/indexSettingsAsSearchParams.ts +32 -36
  102. package/model/matchLevel.ts +1 -1
  103. package/model/mode.ts +1 -1
  104. package/model/numericFilters.ts +1 -1
  105. package/model/optionalFilters.ts +1 -1
  106. package/model/params.ts +1 -1
  107. package/model/promoteObjectID.ts +2 -2
  108. package/model/promoteObjectIDs.ts +2 -2
  109. package/model/queryType.ts +1 -1
  110. package/model/rankingInfo.ts +10 -7
  111. package/model/reRankingApplyFilter.ts +1 -1
  112. package/model/recommendHit.ts +3 -3
  113. package/model/recommendationsHits.ts +1 -1
  114. package/model/removeStopWords.ts +4 -2
  115. package/model/removeWordsIfNoResults.ts +1 -1
  116. package/model/renderingContent.ts +1 -1
  117. package/model/searchParamsQuery.ts +1 -1
  118. package/model/searchRecommendRulesParams.ts +2 -2
  119. package/model/searchRecommendRulesResponse.ts +3 -3
  120. package/model/semanticSearch.ts +2 -2
  121. package/model/snippetResultOption.ts +2 -2
  122. package/model/sortRemainingBy.ts +1 -1
  123. package/model/supportedLanguage.ts +74 -0
  124. package/model/tagFilters.ts +1 -1
  125. package/model/taskStatus.ts +1 -1
  126. package/model/typoTolerance.ts +1 -1
  127. package/model/typoToleranceEnum.ts +3 -0
  128. package/model/value.ts +1 -1
  129. package/package.json +7 -7
@@ -81,6 +81,7 @@ export * from './semanticSearch';
81
81
  export * from './snippetResult';
82
82
  export * from './snippetResultOption';
83
83
  export * from './sortRemainingBy';
84
+ export * from './supportedLanguage';
84
85
  export * from './tagFilters';
85
86
  export * from './taskStatus';
86
87
  export * from './trendingFacetHit';
@@ -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,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC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,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,YAAY,CAAC;AAC3B,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,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
@@ -10,42 +10,39 @@ import type { RemoveStopWords } from './removeStopWords';
10
10
  import type { RemoveWordsIfNoResults } from './removeWordsIfNoResults';
11
11
  import type { RenderingContent } from './renderingContent';
12
12
  import type { SemanticSearch } from './semanticSearch';
13
+ import type { SupportedLanguage } from './supportedLanguage';
13
14
  import type { TypoTolerance } from './typoTolerance';
14
15
  export type IndexSettingsAsSearchParams = {
15
16
  /**
16
- * 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`.
17
- */
18
- attributesForFaceting?: string[];
19
- /**
20
- * 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.
17
+ * Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. - `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings. - To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`. - The `objectID` attribute is always included.
21
18
  */
22
19
  attributesToRetrieve?: string[];
23
20
  /**
24
- * Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).
21
+ * Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/). The tie-breaking algorithm sequentially applies each criterion in the order they\'re specified. If you configure a replica index for [sorting by an attribute](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute/), you put the sorting attribute at the top of the list. **Modifiers** <dl> <dt><code>asc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in ascending order.</dd> <dt><code>desc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in descending order.</dd> </dl> Before you modify the default setting, you should test your changes in the dashboard, and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing/).
25
22
  */
26
23
  ranking?: string[];
27
24
  /**
28
- * 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.
25
+ * Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). The custom ranking attributes decide which items are shown first if the other ranking criteria are equal. Records with missing values for your selected custom ranking attributes are always sorted last. Boolean attributes are sorted based on their alphabetical order. **Modifiers** <dl> <dt><code>asc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in ascending order.</dd> <dt><code>desc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in descending order.</dd> </dl> If you use two or more custom ranking attributes, [reduce the precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/) of your first attributes, or the other attributes will never be applied.
29
26
  */
30
27
  customRanking?: string[];
31
28
  /**
32
- * Relevancy threshold below which less relevant results aren\'t included in the results.
29
+ * Relevancy threshold below which less relevant results aren\'t included in the results. You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results.
33
30
  */
34
31
  relevancyStrictness?: number;
35
32
  /**
36
- * Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`).
33
+ * Attributes to highlight. By default, all searchable attributes are highlighted. Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting. With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`. You can use this to visually highlight matching parts of a search query in your UI. For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js/).
37
34
  */
38
35
  attributesToHighlight?: string[];
39
36
  /**
40
- * 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`.
37
+ * Attributes for which to enable snippets. Snippets provide additional context to matched words. If you enable snippets, they include 10 words, including the matched word. The matched word will also be wrapped by HTML tags for highlighting. You can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`, where `NUMBER` is the number of words to be extracted.
41
38
  */
42
39
  attributesToSnippet?: string[];
43
40
  /**
44
- * HTML string to insert before the highlighted parts in all highlight and snippet results.
41
+ * HTML tag to insert before the highlighted parts in all highlighted results and snippets.
45
42
  */
46
43
  highlightPreTag?: string;
47
44
  /**
48
- * HTML string to insert after the highlighted parts in all highlight and snippet results.
45
+ * HTML tag to insert after the highlighted parts in all highlighted results and snippets.
49
46
  */
50
47
  highlightPostTag?: string;
51
48
  /**
@@ -53,7 +50,7 @@ export type IndexSettingsAsSearchParams = {
53
50
  */
54
51
  snippetEllipsisText?: string;
55
52
  /**
56
- * Restrict highlighting and snippeting to items that matched the query.
53
+ * Whether to restrict highlighting and snippeting to items that at least partially matched the search query. By default, all items are highlighted and snippeted.
57
54
  */
58
55
  restrictHighlightAndSnippetArrays?: boolean;
59
56
  /**
@@ -61,42 +58,42 @@ export type IndexSettingsAsSearchParams = {
61
58
  */
62
59
  hitsPerPage?: number;
63
60
  /**
64
- * 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).
61
+ * Minimum number of characters a word in the search query 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).
65
62
  */
66
63
  minWordSizefor1Typo?: number;
67
64
  /**
68
- * 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).
65
+ * Minimum number of characters a word in the search query 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).
69
66
  */
70
67
  minWordSizefor2Typos?: number;
71
68
  typoTolerance?: TypoTolerance;
72
69
  /**
73
- * Whether to allow typos on numbers (\"numeric tokens\") in the query string.
70
+ * Whether to allow typos on numbers in the search query. Turn off this setting to reduce the number of irrelevant matches when searching in large sets of similar numbers.
74
71
  */
75
72
  allowTyposOnNumericTokens?: boolean;
76
73
  /**
77
- * Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
74
+ * Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). Returning only exact matches can help when: - [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/). - Reducing the number of matches when you have too many. This can happen with attributes that are long blocks of text, such as product descriptions. Consider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.
78
75
  */
79
76
  disableTypoToleranceOnAttributes?: string[];
80
77
  ignorePlurals?: IgnorePlurals;
81
78
  removeStopWords?: RemoveStopWords;
82
79
  /**
83
- * 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/).
80
+ * Characters for which diacritics should be preserved. By default, Algolia removes diacritics from letters. For example, `é` becomes `e`. If this causes issues in your search, you can specify characters that should keep their diacritics.
84
81
  */
85
82
  keepDiacriticsOnCharacters?: string;
86
83
  /**
87
- * 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.
84
+ * Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries. This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [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) languages. To support this, you must place the CJK language **first**. **You should always specify a query 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/).
88
85
  */
89
- queryLanguages?: string[];
86
+ queryLanguages?: SupportedLanguage[];
90
87
  /**
91
- * [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.
88
+ * Whether to split compound words into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian.
92
89
  */
93
90
  decompoundQuery?: boolean;
94
91
  /**
95
- * Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.
92
+ * Whether to enable rules.
96
93
  */
97
94
  enableRules?: boolean;
98
95
  /**
99
- * Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.
96
+ * Whether to enable Personalization.
100
97
  */
101
98
  enablePersonalization?: boolean;
102
99
  queryType?: QueryType;
@@ -104,41 +101,41 @@ export type IndexSettingsAsSearchParams = {
104
101
  mode?: Mode;
105
102
  semanticSearch?: SemanticSearch;
106
103
  /**
107
- * Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).
104
+ * Whether to support phrase matching and excluding words from search queries. Use the `advancedSyntaxFeatures` parameter to control which feature is supported.
108
105
  */
109
106
  advancedSyntax?: boolean;
110
107
  /**
111
- * 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.
108
+ * Words that should be considered optional when found in the query. By default, records must match all words in the search query to be included in the search results. Adding optional words can help to increase the number of search results by running an additional search query that doesn\'t include the optional words. For example, if the search query is \"action video\" and \"video\" is an optional word, the search engine runs two queries. One for \"action video\" and one for \"action\". Records that match all words are ranked higher. For a search query with 4 or more words **and** all its words are optional, the number of matched words required for a record to be included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of optional words dividied by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
112
109
  */
113
110
  optionalWords?: string[];
114
111
  /**
115
- * 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).
112
+ * Searchable 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). This can be useful for attributes with long values, where the likelyhood of an exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these attributes favors exact matching on other attributes. This reduces the impact of individual attributes with a lot of content on ranking.
116
113
  */
117
114
  disableExactOnAttributes?: string[];
118
115
  exactOnSingleWordQuery?: ExactOnSingleWordQuery;
119
116
  /**
120
- * 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).
117
+ * Alternatives of query words that should be considered as exact matches by the Exact ranking criterion. <dl> <dt><code>ignorePlurals</code></dt> <dd> Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches. </dd> <dt><code>singleWordSynonym</code></dt> <dd> Single-word synonyms, such as \"NY/NYC\" are considered exact matches. </dd> <dt><code>multiWordsSynonym</code></dt> <dd> Multi-word synonyms, such as \"NY/New York\" are considered exact matches. </dd> </dl>.
121
118
  */
122
119
  alternativesAsExact?: AlternativesAsExact[];
123
120
  /**
124
- * Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.
121
+ * Advanced search syntax features you want to support. <dl> <dt><code>exactPhrase</code></dt> <dd> Phrases in quotes must match exactly. For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". </dd> <dt><code>excludeWords</code></dt> <dd> Query words prefixed with a `-` must not occur in a record. For example, `search -engine` matches records that contain \"search\" but not \"engine\". </dd> </dl> This setting only has an effect if `advancedSyntax` is true.
125
122
  */
126
123
  advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
127
124
  distinct?: Distinct;
128
125
  /**
129
- * Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
126
+ * Whether to replace a highlighted word with the matched synonym. By default, the original words are highlighted even if a synonym matches. For example, with `home` as a synonym for `house` and a search for `home`, records matching either \"home\" or \"house\" are included in the search results, and either \"home\" or \"house\" are highlighted. With `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records, but all occurences of \"house\" are replaced by \"home\" in the highlighted response.
130
127
  */
131
128
  replaceSynonymsInHighlight?: boolean;
132
129
  /**
133
- * Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).
130
+ * Minimum proximity score for two matching words. This adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity) by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.
134
131
  */
135
132
  minProximity?: number;
136
133
  /**
137
- * Attributes to include in the API response for search and browse queries.
134
+ * Properties to include in the API response of `search` and `browse` requests. By default, all response properties are included. To reduce the response size, you can select, which attributes should be included. You can\'t exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don\'t exclude properties that you might need in your search UI.
138
135
  */
139
136
  responseFields?: string[];
140
137
  /**
141
- * 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).
138
+ * Maximum number of facet values to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
142
139
  */
143
140
  maxFacetHits?: number;
144
141
  /**
@@ -146,16 +143,16 @@ export type IndexSettingsAsSearchParams = {
146
143
  */
147
144
  maxValuesPerFacet?: number;
148
145
  /**
149
- * Controls how facet values are fetched.
146
+ * Order in which to retrieve facet values. <dl> <dt><code>count</code></dt> <dd> Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value. </dd> <dt><code>alpha</code></dt> <dd>Retrieve facet values alphabetically.</dd> </dl> This setting doesn\'t influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js/).
150
147
  */
151
148
  sortFacetValuesBy?: string;
152
149
  /**
153
- * 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.
150
+ * Whether the best matching attribute should be determined by minimum proximity. This setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting. If true, the best matching attribute is selected based on the minimum proximity of multiple matches. Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
154
151
  */
155
152
  attributeCriteriaComputedByMinProximity?: boolean;
156
153
  renderingContent?: RenderingContent;
157
154
  /**
158
- * Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
155
+ * Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/). This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
159
156
  */
160
157
  enableReRanking?: boolean;
161
158
  reRankingApplyFilter?: ReRankingApplyFilter | null;
@@ -1 +1 @@
1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AEpC;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACpD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Indicates how well the attribute matched the search query.
2
+ * Whether the whole query string matches or only a part.
3
3
  */
4
4
  export type MatchLevel = 'full' | 'none' | 'partial';
5
5
  //# sourceMappingURL=matchLevel.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Search mode the index will use to query for results.
2
+ * Search mode the index will use to query for results. This setting only applies to indices, for which Algolia enabled NeuralSearch for you.
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](https://www.algolia.com/doc/api-reference/api-parameters/numericFilters/).
3
+ * Filter by numeric facets. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** You can use numeric comparison operators: `<`, `<=`, `=`, `!=`, `>`, `>=`. Comparsions are precise up to 3 decimals. You can also provide ranges: `facet:<lower> TO <upper>`. The range includes the lower and upper boundaries. The same combination rules apply as for `facetFilters`.
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 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.
3
+ * Filters to promote or demote records in the search results. Optional filters work like facet filters, but they don\'t exclude records from the search results. Records that match the optional filter rank before records that don\'t match. If you\'re using a negative filter `facet:-value`, matching records rank after records that don\'t match. - Optional filters don\'t work on virtual replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters don\'t work with numeric attributes.
4
4
  */
5
5
  export type OptionalFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=optionalFilters.d.ts.map
@@ -2,7 +2,7 @@ import type { AutomaticFacetFilters } from './automaticFacetFilters';
2
2
  import type { ConsequenceQuery } from './consequenceQuery';
3
3
  import type { RenderingContent } from './renderingContent';
4
4
  /**
5
- * Additional search parameters.
5
+ * Parameters to apply to this search. You can use all search parameters, plus special `automaticFacetFilters`, `automaticOptionalFacetFilters`, and `query`.
6
6
  */
7
7
  export type Params = {
8
8
  query?: ConsequenceQuery;
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export type PromoteObjectID = {
5
5
  /**
6
- * Unique identifier of the record to promote.
6
+ * Unique record identifier.
7
7
  */
8
8
  objectID: string;
9
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.
10
+ * Position in the search results where you want to show the promoted records.
11
11
  */
12
12
  position: number;
13
13
  };
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export type PromoteObjectIDs = {
5
5
  /**
6
- * Unique identifiers of the records to promote.
6
+ * Object IDs of the records you want to promote. The records are placed as a group at the `position`. For example, if you want to promote four records to position `0`, they will be the first four search results.
7
7
  */
8
8
  objectIDs: string[];
9
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.
10
+ * Position in the search results where you want to show the promoted records.
11
11
  */
12
12
  position: number;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  /**
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/).
2
+ * Determines if and how query words are interpreted as prefixes. By default, only the last query word is treated as prefix (`prefixLast`). To turn off prefix search, use `prefixNone`. Avoid `prefixAll`, which treats all query words as prefixes. This might lead to counterintuitive results and makes your search slower. For more information, see [Prefix searching](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,12 +1,15 @@
1
1
  import type { MatchedGeoLocation } from './matchedGeoLocation';
2
2
  import type { Personalization } from './personalization';
3
+ /**
4
+ * Object with detailed information about the record\'s ranking.
5
+ */
3
6
  export type RankingInfo = {
4
7
  /**
5
- * This field is reserved for advanced usage.
8
+ * Whether a filter matched the query.
6
9
  */
7
10
  filters: number;
8
11
  /**
9
- * Position of the most important matched attribute in the attributes to index list.
12
+ * Position of the first matched word in the best matching attribute of the record.
10
13
  */
11
14
  firstMatchedWord: number;
12
15
  /**
@@ -28,23 +31,23 @@ export type RankingInfo = {
28
31
  */
29
32
  nbTypos: number;
30
33
  /**
31
- * Present and set to true if a Rule promoted the hit.
34
+ * Whether the record was promoted by a rule.
32
35
  */
33
36
  promoted: boolean;
34
37
  /**
35
- * When the query contains more than one word, the sum of the distances between matched words (in meters).
38
+ * Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
36
39
  */
37
40
  proximityDistance?: number;
38
41
  /**
39
- * Custom ranking for the object, expressed as a single integer value.
42
+ * Overall ranking of the record, expressed as a single integer. This attribute is internal.
40
43
  */
41
44
  userScore: number;
42
45
  /**
43
- * Number of matched words, including prefixes and typos.
46
+ * Number of matched words.
44
47
  */
45
48
  words: number;
46
49
  /**
47
- * Wether the record are promoted by the re-ranking strategy.
50
+ * Whether the record is re-ranked.
48
51
  */
49
52
  promotedByReRanking?: boolean;
50
53
  };
@@ -1 +1 @@
1
- {"version":3,"file":"rankingInfo.d.ts","sourceRoot":"","sources":["../../model/rankingInfo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAE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AAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { MixedSearchFilters } from './mixedSearchFilters';
2
2
  /**
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.
3
+ * Restrict [Dynamic Re-ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
4
4
  */
5
5
  export type ReRankingApplyFilter = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=reRankingApplyFilter.d.ts.map
@@ -6,15 +6,15 @@ import type { SnippetResult } from './snippetResult';
6
6
  */
7
7
  export type RecommendHit = Record<string, any> & {
8
8
  /**
9
- * Unique object identifier.
9
+ * Unique record identifier.
10
10
  */
11
11
  objectID: string;
12
12
  /**
13
- * Show highlighted section and words matched on a query.
13
+ * Surround words that match the query with HTML tags for highlighting.
14
14
  */
15
15
  _highlightResult?: Record<string, HighlightResult>;
16
16
  /**
17
- * Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
17
+ * Snippets that show the context around a matching search query.
18
18
  */
19
19
  _snippetResult?: Record<string, SnippetResult>;
20
20
  _rankingInfo?: RankingInfo;
@@ -2,7 +2,7 @@ import type { RecommendationsHit } from './recommendationsHit';
2
2
  export type RecommendationsHits = {
3
3
  hits: RecommendationsHit[];
4
4
  /**
5
- * Text to search for in an index.
5
+ * Search query.
6
6
  */
7
7
  query?: string;
8
8
  /**
@@ -1,5 +1,6 @@
1
+ import type { SupportedLanguage } from './supportedLanguage';
1
2
  /**
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
+ * Removes stop words from the search query. Stop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own. In English, \"the\", \"a\", or \"and\" are stop words. You should only use this feature for the languages used in your index.
3
4
  */
4
- export type RemoveStopWords = string[] | boolean;
5
+ export type RemoveStopWords = SupportedLanguage[] | boolean;
5
6
  //# sourceMappingURL=removeStopWords.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"removeStopWords.d.ts","sourceRoot":"","sources":["../../model/removeStopWords.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"removeStopWords.d.ts","sourceRoot":"","sources":["../../model/removeStopWords.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,iBAAiB,EAAE,GAAG,OAAO,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Strategy to [remove words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/) from the query when it doesn\'t match any hits.
2
+ * Strategy for removing words from the query when it doesn\'t return any results. This helps to avoid returning empty search results. <dl> <dt><code>none</code></dt> <dd>No words are removed when a query doesn\'t return results.</dd> <dt><code>lastWords</code></dt> <dd>Treat the last (then second to last, then third to last) word as optional, until there are results or at most 5 words have been removed.</dd> <dt><code>firstWords</code></dt> <dd>Treat the first (then second, then third) word as optional, until there are results or at most 5 words have been removed.</dd> <dt><code>allOptional</code></dt> <dd>Treat all words as optional.</dd> </dl> For more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/).
3
3
  */
4
4
  export type RemoveWordsIfNoResults = 'allOptional' | 'firstWords' | 'lastWords' | 'none';
5
5
  //# sourceMappingURL=removeWordsIfNoResults.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { FacetOrdering } from './facetOrdering';
2
2
  /**
3
- * Extra content for the search UI, for example, to control the [ordering and display of facets](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/merchandising-facets/#merchandise-facets-and-their-values-in-the-manual-editor). You can set a default value and dynamically override it with [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/).
3
+ * Extra data that can be used in the search UI. You can use this to control aspects of your search UI, such as, the order of facet names and values without changing your frontend code.
4
4
  */
5
5
  export type RenderingContent = {
6
6
  facetOrdering?: FacetOrdering;
@@ -1,6 +1,6 @@
1
1
  export type SearchParamsQuery = {
2
2
  /**
3
- * Text to search for in an index.
3
+ * Search query.
4
4
  */
5
5
  query?: string;
6
6
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export type SearchRecommendRulesParams = {
5
5
  /**
6
- * Full-text query.
6
+ * Search query.
7
7
  */
8
8
  query?: string;
9
9
  /**
@@ -11,7 +11,7 @@ export type SearchRecommendRulesParams = {
11
11
  */
12
12
  context?: string;
13
13
  /**
14
- * Requested page (the first page is page 0).
14
+ * Requested page of the API response.
15
15
  */
16
16
  page?: number;
17
17
  /**
@@ -5,15 +5,15 @@ export type SearchRecommendRulesResponse = {
5
5
  */
6
6
  hits: RuleResponse[];
7
7
  /**
8
- * Number of hits the search query matched.
8
+ * Number of results (hits).
9
9
  */
10
10
  nbHits: number;
11
11
  /**
12
- * Page to retrieve (the first page is `0`, not `1`).
12
+ * Page of search results to retrieve.
13
13
  */
14
14
  page: number;
15
15
  /**
16
- * Number of pages of results for the current query.
16
+ * Number of pages of results.
17
17
  */
18
18
  nbPages: number;
19
19
  };
@@ -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
@@ -0,0 +1,5 @@
1
+ /**
2
+ * ISO code for a supported language.
3
+ */
4
+ export type SupportedLanguage = 'af' | 'ar' | 'az' | 'bg' | 'bn' | 'ca' | 'cs' | 'cy' | 'da' | 'de' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'fa' | 'fi' | 'fo' | 'fr' | 'ga' | 'gl' | 'he' | 'hi' | 'hu' | 'hy' | 'id' | 'is' | 'it' | 'ja' | 'ka' | 'kk' | 'ko' | 'ku' | 'ky' | 'lt' | 'lv' | 'mi' | 'mn' | 'mr' | 'ms' | 'mt' | 'nb' | 'nl' | 'no' | 'ns' | 'pl' | 'ps' | 'pt-br' | 'pt' | 'qu' | 'ro' | 'ru' | 'sk' | 'sq' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tl' | 'tn' | 'tr' | 'tt' | 'uk' | 'ur' | 'uz' | 'zh';
5
+ //# sourceMappingURL=supportedLanguage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supportedLanguage.d.ts","sourceRoot":"","sources":["../../model/supportedLanguage.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC"}
@@ -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,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