@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.
- package/dist/model/anchoring.d.ts +1 -1
- package/dist/model/aroundPrecision.d.ts +1 -1
- package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
- package/dist/model/aroundRadius.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts +3 -0
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/automaticFacetFilter.d.ts +4 -4
- package/dist/model/automaticFacetFilters.d.ts +1 -1
- package/dist/model/baseRecommendRequest.d.ts +1 -1
- package/dist/model/baseRecommendationsQuery.d.ts +1 -1
- package/dist/model/baseRecommendedForYouQueryParameters.d.ts +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +24 -28
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +6 -6
- package/dist/model/clientMethodProps.d.ts +6 -6
- package/dist/model/condition.d.ts +7 -3
- package/dist/model/condition.d.ts.map +1 -1
- package/dist/model/consequence.d.ts +5 -5
- package/dist/model/consequenceHide.d.ts +2 -2
- package/dist/model/consequenceQuery.d.ts +1 -1
- package/dist/model/consequenceQueryObject.d.ts +2 -2
- package/dist/model/deletedAtResponse.d.ts +1 -1
- package/dist/model/distinct.d.ts +1 -1
- package/dist/model/edit.d.ts +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/model/facetFilters.d.ts +1 -1
- package/dist/model/facetOrdering.d.ts +2 -2
- package/dist/model/facets.d.ts +2 -2
- package/dist/model/highlightResultOption.d.ts +3 -3
- package/dist/model/ignorePlurals.d.ts +3 -2
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/matchLevel.d.ts +1 -1
- package/dist/model/mode.d.ts +1 -1
- package/dist/model/numericFilters.d.ts +1 -1
- package/dist/model/optionalFilters.d.ts +1 -1
- package/dist/model/params.d.ts +1 -1
- package/dist/model/promoteObjectID.d.ts +2 -2
- package/dist/model/promoteObjectIDs.d.ts +2 -2
- package/dist/model/queryType.d.ts +1 -1
- package/dist/model/rankingInfo.d.ts +10 -7
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/model/recommendHit.d.ts +3 -3
- package/dist/model/recommendationsHits.d.ts +1 -1
- package/dist/model/removeStopWords.d.ts +3 -2
- package/dist/model/removeStopWords.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/model/renderingContent.d.ts +1 -1
- package/dist/model/searchParamsQuery.d.ts +1 -1
- package/dist/model/searchRecommendRulesParams.d.ts +2 -2
- package/dist/model/searchRecommendRulesResponse.d.ts +3 -3
- package/dist/model/semanticSearch.d.ts +2 -2
- package/dist/model/snippetResultOption.d.ts +2 -2
- package/dist/model/sortRemainingBy.d.ts +1 -1
- package/dist/model/supportedLanguage.d.ts +5 -0
- package/dist/model/supportedLanguage.d.ts.map +1 -0
- package/dist/model/tagFilters.d.ts +1 -1
- package/dist/model/taskStatus.d.ts +1 -1
- package/dist/model/typoTolerance.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts +3 -0
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/value.d.ts +1 -1
- package/dist/recommend.cjs +7 -7
- package/dist/recommend.esm.browser.js +7 -7
- package/dist/recommend.esm.node.js +7 -7
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +7 -7
- package/model/anchoring.ts +1 -1
- package/model/aroundPrecision.ts +1 -1
- package/model/aroundPrecisionFromValueInner.ts +9 -0
- package/model/aroundRadius.ts +1 -1
- package/model/aroundRadiusAll.ts +3 -0
- package/model/automaticFacetFilter.ts +4 -4
- package/model/automaticFacetFilters.ts +1 -1
- package/model/baseRecommendRequest.ts +1 -1
- package/model/baseRecommendationsQuery.ts +1 -1
- package/model/baseRecommendedForYouQueryParameters.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +24 -29
- package/model/baseSearchResponse.ts +6 -6
- package/model/clientMethodProps.ts +6 -6
- package/model/condition.ts +8 -3
- package/model/consequence.ts +5 -5
- package/model/consequenceHide.ts +2 -2
- package/model/consequenceQuery.ts +1 -1
- package/model/consequenceQueryObject.ts +2 -2
- package/model/deletedAtResponse.ts +1 -1
- package/model/distinct.ts +1 -1
- package/model/edit.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +1 -1
- package/model/facetFilters.ts +1 -1
- package/model/facetOrdering.ts +2 -2
- package/model/facets.ts +2 -2
- package/model/highlightResultOption.ts +3 -3
- package/model/ignorePlurals.ts +4 -2
- package/model/index.ts +1 -0
- package/model/indexSettingsAsSearchParams.ts +32 -36
- package/model/matchLevel.ts +1 -1
- package/model/mode.ts +1 -1
- package/model/numericFilters.ts +1 -1
- package/model/optionalFilters.ts +1 -1
- package/model/params.ts +1 -1
- package/model/promoteObjectID.ts +2 -2
- package/model/promoteObjectIDs.ts +2 -2
- package/model/queryType.ts +1 -1
- package/model/rankingInfo.ts +10 -7
- package/model/reRankingApplyFilter.ts +1 -1
- package/model/recommendHit.ts +3 -3
- package/model/recommendationsHits.ts +1 -1
- package/model/removeStopWords.ts +4 -2
- package/model/removeWordsIfNoResults.ts +1 -1
- package/model/renderingContent.ts +1 -1
- package/model/searchParamsQuery.ts +1 -1
- package/model/searchRecommendRulesParams.ts +2 -2
- package/model/searchRecommendRulesResponse.ts +3 -3
- package/model/semanticSearch.ts +2 -2
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +1 -1
- package/model/supportedLanguage.ts +74 -0
- package/model/tagFilters.ts +1 -1
- package/model/taskStatus.ts +1 -1
- package/model/typoTolerance.ts +1 -1
- package/model/typoToleranceEnum.ts +3 -0
- package/model/value.ts +1 -1
- package/package.json +7 -7
package/model/params.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { ConsequenceQuery } from './consequenceQuery';
|
|
|
5
5
|
import type { RenderingContent } from './renderingContent';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Parameters to apply to this search. You can use all search parameters, plus special `automaticFacetFilters`, `automaticOptionalFacetFilters`, and `query`.
|
|
9
9
|
*/
|
|
10
10
|
export type Params = {
|
|
11
11
|
query?: ConsequenceQuery;
|
package/model/promoteObjectID.ts
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type PromoteObjectID = {
|
|
7
7
|
/**
|
|
8
|
-
* Unique
|
|
8
|
+
* Unique record identifier.
|
|
9
9
|
*/
|
|
10
10
|
objectID: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Position in the search results where you want to show the promoted records.
|
|
14
14
|
*/
|
|
15
15
|
position: number;
|
|
16
16
|
};
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type PromoteObjectIDs = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* 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.
|
|
9
9
|
*/
|
|
10
10
|
objectIDs: string[];
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Position in the search results where you want to show the promoted records.
|
|
14
14
|
*/
|
|
15
15
|
position: number;
|
|
16
16
|
};
|
package/model/queryType.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Determines how query words are
|
|
4
|
+
* 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/).
|
|
5
5
|
*/
|
|
6
6
|
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
|
package/model/rankingInfo.ts
CHANGED
|
@@ -3,14 +3,17 @@
|
|
|
3
3
|
import type { MatchedGeoLocation } from './matchedGeoLocation';
|
|
4
4
|
import type { Personalization } from './personalization';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Object with detailed information about the record\'s ranking.
|
|
8
|
+
*/
|
|
6
9
|
export type RankingInfo = {
|
|
7
10
|
/**
|
|
8
|
-
*
|
|
11
|
+
* Whether a filter matched the query.
|
|
9
12
|
*/
|
|
10
13
|
filters: number;
|
|
11
14
|
|
|
12
15
|
/**
|
|
13
|
-
* Position of the
|
|
16
|
+
* Position of the first matched word in the best matching attribute of the record.
|
|
14
17
|
*/
|
|
15
18
|
firstMatchedWord: number;
|
|
16
19
|
|
|
@@ -39,27 +42,27 @@ export type RankingInfo = {
|
|
|
39
42
|
nbTypos: number;
|
|
40
43
|
|
|
41
44
|
/**
|
|
42
|
-
*
|
|
45
|
+
* Whether the record was promoted by a rule.
|
|
43
46
|
*/
|
|
44
47
|
promoted: boolean;
|
|
45
48
|
|
|
46
49
|
/**
|
|
47
|
-
*
|
|
50
|
+
* Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
|
|
48
51
|
*/
|
|
49
52
|
proximityDistance?: number;
|
|
50
53
|
|
|
51
54
|
/**
|
|
52
|
-
*
|
|
55
|
+
* Overall ranking of the record, expressed as a single integer. This attribute is internal.
|
|
53
56
|
*/
|
|
54
57
|
userScore: number;
|
|
55
58
|
|
|
56
59
|
/**
|
|
57
|
-
* Number of matched words
|
|
60
|
+
* Number of matched words.
|
|
58
61
|
*/
|
|
59
62
|
words: number;
|
|
60
63
|
|
|
61
64
|
/**
|
|
62
|
-
*
|
|
65
|
+
* Whether the record is re-ranked.
|
|
63
66
|
*/
|
|
64
67
|
promotedByReRanking?: boolean;
|
|
65
68
|
};
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Restrict [Dynamic Re-ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
|
|
7
7
|
*/
|
|
8
8
|
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
package/model/recommendHit.ts
CHANGED
|
@@ -9,17 +9,17 @@ import type { SnippetResult } from './snippetResult';
|
|
|
9
9
|
*/
|
|
10
10
|
export type RecommendHit = Record<string, any> & {
|
|
11
11
|
/**
|
|
12
|
-
* Unique
|
|
12
|
+
* Unique record identifier.
|
|
13
13
|
*/
|
|
14
14
|
objectID: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Surround words that match the query with HTML tags for highlighting.
|
|
18
18
|
*/
|
|
19
19
|
_highlightResult?: Record<string, HighlightResult>;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Snippets that show the context around a matching search query.
|
|
23
23
|
*/
|
|
24
24
|
_snippetResult?: Record<string, SnippetResult>;
|
|
25
25
|
|
package/model/removeStopWords.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
+
import type { SupportedLanguage } from './supportedLanguage';
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
|
-
* Removes stop
|
|
6
|
+
* 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.
|
|
5
7
|
*/
|
|
6
|
-
export type RemoveStopWords =
|
|
8
|
+
export type RemoveStopWords = SupportedLanguage[] | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Strategy to [
|
|
4
|
+
* 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/).
|
|
5
5
|
*/
|
|
6
6
|
export type RemoveWordsIfNoResults =
|
|
7
7
|
| 'allOptional'
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { FacetOrdering } from './facetOrdering';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Extra
|
|
6
|
+
* 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.
|
|
7
7
|
*/
|
|
8
8
|
export type RenderingContent = {
|
|
9
9
|
facetOrdering?: FacetOrdering;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type SearchRecommendRulesParams = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Search query.
|
|
9
9
|
*/
|
|
10
10
|
query?: string;
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ export type SearchRecommendRulesParams = {
|
|
|
15
15
|
context?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Requested page
|
|
18
|
+
* Requested page of the API response.
|
|
19
19
|
*/
|
|
20
20
|
page?: number;
|
|
21
21
|
|
|
@@ -9,17 +9,17 @@ export type SearchRecommendRulesResponse = {
|
|
|
9
9
|
hits: RuleResponse[];
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Number of hits
|
|
12
|
+
* Number of results (hits).
|
|
13
13
|
*/
|
|
14
14
|
nbHits: number;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Page
|
|
17
|
+
* Page of search results to retrieve.
|
|
18
18
|
*/
|
|
19
19
|
page: number;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Number of pages of results
|
|
22
|
+
* Number of pages of results.
|
|
23
23
|
*/
|
|
24
24
|
nbPages: number;
|
|
25
25
|
};
|
package/model/semanticSearch.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Settings for the semantic search part of NeuralSearch. Only used when `mode` is
|
|
4
|
+
* Settings for the semantic search part of NeuralSearch. Only used when `mode` is `neuralSearch`.
|
|
5
5
|
*/
|
|
6
6
|
export type SemanticSearch = {
|
|
7
7
|
/**
|
|
8
|
-
* Indices from which to collect click and conversion events.
|
|
8
|
+
* Indices from which to collect click and conversion events. If null, the current index and all its replicas are used.
|
|
9
9
|
*/
|
|
10
10
|
eventSources?: string[] | null;
|
|
11
11
|
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import type { MatchLevel } from './matchLevel';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Snippets that show the context around a matching search query.
|
|
7
7
|
*/
|
|
8
8
|
export type SnippetResultOption = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Highlighted attribute value, including HTML tags.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
13
|
|
package/model/sortRemainingBy.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* 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>.
|
|
5
5
|
*/
|
|
6
6
|
export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* ISO code for a supported language.
|
|
5
|
+
*/
|
|
6
|
+
export type SupportedLanguage =
|
|
7
|
+
| 'af'
|
|
8
|
+
| 'ar'
|
|
9
|
+
| 'az'
|
|
10
|
+
| 'bg'
|
|
11
|
+
| 'bn'
|
|
12
|
+
| 'ca'
|
|
13
|
+
| 'cs'
|
|
14
|
+
| 'cy'
|
|
15
|
+
| 'da'
|
|
16
|
+
| 'de'
|
|
17
|
+
| 'el'
|
|
18
|
+
| 'en'
|
|
19
|
+
| 'eo'
|
|
20
|
+
| 'es'
|
|
21
|
+
| 'et'
|
|
22
|
+
| 'eu'
|
|
23
|
+
| 'fa'
|
|
24
|
+
| 'fi'
|
|
25
|
+
| 'fo'
|
|
26
|
+
| 'fr'
|
|
27
|
+
| 'ga'
|
|
28
|
+
| 'gl'
|
|
29
|
+
| 'he'
|
|
30
|
+
| 'hi'
|
|
31
|
+
| 'hu'
|
|
32
|
+
| 'hy'
|
|
33
|
+
| 'id'
|
|
34
|
+
| 'is'
|
|
35
|
+
| 'it'
|
|
36
|
+
| 'ja'
|
|
37
|
+
| 'ka'
|
|
38
|
+
| 'kk'
|
|
39
|
+
| 'ko'
|
|
40
|
+
| 'ku'
|
|
41
|
+
| 'ky'
|
|
42
|
+
| 'lt'
|
|
43
|
+
| 'lv'
|
|
44
|
+
| 'mi'
|
|
45
|
+
| 'mn'
|
|
46
|
+
| 'mr'
|
|
47
|
+
| 'ms'
|
|
48
|
+
| 'mt'
|
|
49
|
+
| 'nb'
|
|
50
|
+
| 'nl'
|
|
51
|
+
| 'no'
|
|
52
|
+
| 'ns'
|
|
53
|
+
| 'pl'
|
|
54
|
+
| 'ps'
|
|
55
|
+
| 'pt-br'
|
|
56
|
+
| 'pt'
|
|
57
|
+
| 'qu'
|
|
58
|
+
| 'ro'
|
|
59
|
+
| 'ru'
|
|
60
|
+
| 'sk'
|
|
61
|
+
| 'sq'
|
|
62
|
+
| 'sv'
|
|
63
|
+
| 'sw'
|
|
64
|
+
| 'ta'
|
|
65
|
+
| 'te'
|
|
66
|
+
| 'th'
|
|
67
|
+
| 'tl'
|
|
68
|
+
| 'tn'
|
|
69
|
+
| 'tr'
|
|
70
|
+
| 'tt'
|
|
71
|
+
| 'uk'
|
|
72
|
+
| 'ur'
|
|
73
|
+
| 'uz'
|
|
74
|
+
| 'zh';
|
package/model/tagFilters.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 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`.
|
|
7
7
|
*/
|
|
8
8
|
export type TagFilters = MixedSearchFilters[] | string;
|
package/model/taskStatus.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Task status, `published` if the task is completed, `notPublished` otherwise.
|
|
5
5
|
*/
|
|
6
6
|
export type TaskStatus = 'notPublished' | 'published';
|
package/model/typoTolerance.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
import type { TypoToleranceEnum } from './typoToleranceEnum';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 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.
|
|
7
7
|
*/
|
|
8
8
|
export type TypoTolerance = TypoToleranceEnum | boolean;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
|
|
5
|
+
*/
|
|
3
6
|
export type TypoToleranceEnum = 'min' | 'strict';
|
package/model/value.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { SortRemainingBy } from './sortRemainingBy';
|
|
|
4
4
|
|
|
5
5
|
export type Value = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
|
|
8
8
|
*/
|
|
9
9
|
order?: string[];
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/recommend",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.108",
|
|
4
4
|
"description": "JavaScript client for recommend",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"clean": "rm -rf ./dist || true"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
43
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
44
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.109",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.109",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.109"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "20.11.
|
|
48
|
-
"rollup": "4.
|
|
49
|
-
"typescript": "5.
|
|
47
|
+
"@types/node": "20.11.28",
|
|
48
|
+
"rollup": "4.13.0",
|
|
49
|
+
"typescript": "5.4.2"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">= 14.0.0"
|