You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/algoliasearch/lib/src/model/base_recommend_search_params.dart
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ final class BaseRecommendSearchParams {
40
40
this.enableABTest,
41
41
});
42
42
43
-
/// Keywords to be used instead of the search query to conduct a more broader search. Using the `similarQuery` parameter changes other settings: - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords`. Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
43
+
/// Keywords to be used instead of the search query to conduct a more broader searchUsing the `similarQuery` parameter changes other settings- `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords` Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
44
44
@JsonKey(name:r'similarQuery')
45
45
finalString? similarQuery;
46
46
@@ -76,19 +76,19 @@ final class BaseRecommendSearchParams {
76
76
@JsonKey(name:r'tagFilters')
77
77
finaldynamic tagFilters;
78
78
79
-
/// Whether to sum all filter scores. If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
79
+
/// Whether to sum all filter scores If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
80
80
@JsonKey(name:r'sumOrFiltersScores')
81
81
finalbool? sumOrFiltersScores;
82
82
83
83
/// Restricts a search to a subset of your searchable attributes. Attribute names are case-sensitive.
84
84
@JsonKey(name:r'restrictSearchableAttributes')
85
85
finalList<String>? restrictSearchableAttributes;
86
86
87
-
/// Facets for which to retrieve facet values that match the search criteria and the number of matching facet values. To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
87
+
/// Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
88
88
@JsonKey(name:r'facets')
89
89
finalList<String>? facets;
90
90
91
-
/// Whether faceting should be applied after deduplication with `distinct`. This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
91
+
/// Whether faceting should be applied after deduplication with `distinct` This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
92
92
@JsonKey(name:r'facetingAfterDistinct')
93
93
finalbool? facetingAfterDistinct;
94
94
@@ -127,15 +127,15 @@ final class BaseRecommendSearchParams {
127
127
@JsonKey(name:r'insidePolygon')
128
128
finalList<List<double>>? insidePolygon;
129
129
130
-
/// ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
130
+
/// ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches) - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
131
131
@JsonKey(name:r'naturalLanguages')
132
132
finalList<SupportedLanguage>? naturalLanguages;
133
133
134
-
/// Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
134
+
/// Assigns a rule context to the search query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
135
135
@JsonKey(name:r'ruleContexts')
136
136
finalList<String>? ruleContexts;
137
137
138
-
/// Impact that Personalization should have on this search. The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
138
+
/// Impact that Personalization should have on this search The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
139
139
// minimum: 0
140
140
// maximum: 100
141
141
@JsonKey(name:r'personalizationImpact')
@@ -153,7 +153,7 @@ final class BaseRecommendSearchParams {
153
153
@JsonKey(name:r'synonyms')
154
154
finalbool? synonyms;
155
155
156
-
/// Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
156
+
/// Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
Copy file name to clipboardExpand all lines: packages/algoliasearch/lib/src/model/base_search_params.dart
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ final class BaseSearchParams {
48
48
@JsonKey(name:r'query')
49
49
finalString? query;
50
50
51
-
/// Keywords to be used instead of the search query to conduct a more broader search. Using the `similarQuery` parameter changes other settings: - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords`. Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
51
+
/// Keywords to be used instead of the search query to conduct a more broader searchUsing the `similarQuery` parameter changes other settings- `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords` Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
52
52
@JsonKey(name:r'similarQuery')
53
53
finalString? similarQuery;
54
54
@@ -84,19 +84,19 @@ final class BaseSearchParams {
84
84
@JsonKey(name:r'tagFilters')
85
85
finaldynamic tagFilters;
86
86
87
-
/// Whether to sum all filter scores. If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
87
+
/// Whether to sum all filter scores If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
88
88
@JsonKey(name:r'sumOrFiltersScores')
89
89
finalbool? sumOrFiltersScores;
90
90
91
91
/// Restricts a search to a subset of your searchable attributes. Attribute names are case-sensitive.
92
92
@JsonKey(name:r'restrictSearchableAttributes')
93
93
finalList<String>? restrictSearchableAttributes;
94
94
95
-
/// Facets for which to retrieve facet values that match the search criteria and the number of matching facet values. To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
95
+
/// Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
96
96
@JsonKey(name:r'facets')
97
97
finalList<String>? facets;
98
98
99
-
/// Whether faceting should be applied after deduplication with `distinct`. This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
99
+
/// Whether faceting should be applied after deduplication with `distinct` This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
100
100
@JsonKey(name:r'facetingAfterDistinct')
101
101
finalbool? facetingAfterDistinct;
102
102
@@ -150,15 +150,15 @@ final class BaseSearchParams {
150
150
@JsonKey(name:r'insidePolygon')
151
151
finalList<List<double>>? insidePolygon;
152
152
153
-
/// ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
153
+
/// ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches) - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
154
154
@JsonKey(name:r'naturalLanguages')
155
155
finalList<SupportedLanguage>? naturalLanguages;
156
156
157
-
/// Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
157
+
/// Assigns a rule context to the search query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
158
158
@JsonKey(name:r'ruleContexts')
159
159
finalList<String>? ruleContexts;
160
160
161
-
/// Impact that Personalization should have on this search. The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
161
+
/// Impact that Personalization should have on this search The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
162
162
// minimum: 0
163
163
// maximum: 100
164
164
@JsonKey(name:r'personalizationImpact')
@@ -176,7 +176,7 @@ final class BaseSearchParams {
176
176
@JsonKey(name:r'synonyms')
177
177
finalbool? synonyms;
178
178
179
-
/// Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
179
+
/// Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
Copy file name to clipboardExpand all lines: packages/algoliasearch/lib/src/model/base_search_params_without_query.dart
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ final class BaseSearchParamsWithoutQuery {
43
43
this.enableABTest,
44
44
});
45
45
46
-
/// Keywords to be used instead of the search query to conduct a more broader search. Using the `similarQuery` parameter changes other settings: - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords`. Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
46
+
/// Keywords to be used instead of the search query to conduct a more broader searchUsing the `similarQuery` parameter changes other settings- `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords` Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
47
47
@JsonKey(name:r'similarQuery')
48
48
finalString? similarQuery;
49
49
@@ -79,19 +79,19 @@ final class BaseSearchParamsWithoutQuery {
79
79
@JsonKey(name:r'tagFilters')
80
80
finaldynamic tagFilters;
81
81
82
-
/// Whether to sum all filter scores. If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
82
+
/// Whether to sum all filter scores If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
83
83
@JsonKey(name:r'sumOrFiltersScores')
84
84
finalbool? sumOrFiltersScores;
85
85
86
86
/// Restricts a search to a subset of your searchable attributes. Attribute names are case-sensitive.
87
87
@JsonKey(name:r'restrictSearchableAttributes')
88
88
finalList<String>? restrictSearchableAttributes;
89
89
90
-
/// Facets for which to retrieve facet values that match the search criteria and the number of matching facet values. To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
90
+
/// Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
91
91
@JsonKey(name:r'facets')
92
92
finalList<String>? facets;
93
93
94
-
/// Whether faceting should be applied after deduplication with `distinct`. This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
94
+
/// Whether faceting should be applied after deduplication with `distinct` This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
95
95
@JsonKey(name:r'facetingAfterDistinct')
96
96
finalbool? facetingAfterDistinct;
97
97
@@ -145,15 +145,15 @@ final class BaseSearchParamsWithoutQuery {
145
145
@JsonKey(name:r'insidePolygon')
146
146
finalList<List<double>>? insidePolygon;
147
147
148
-
/// ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
148
+
/// ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches) - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
149
149
@JsonKey(name:r'naturalLanguages')
150
150
finalList<SupportedLanguage>? naturalLanguages;
151
151
152
-
/// Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
152
+
/// Assigns a rule context to the search query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
153
153
@JsonKey(name:r'ruleContexts')
154
154
finalList<String>? ruleContexts;
155
155
156
-
/// Impact that Personalization should have on this search. The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
156
+
/// Impact that Personalization should have on this search The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
157
157
// minimum: 0
158
158
// maximum: 100
159
159
@JsonKey(name:r'personalizationImpact')
@@ -171,7 +171,7 @@ final class BaseSearchParamsWithoutQuery {
171
171
@JsonKey(name:r'synonyms')
172
172
finalbool? synonyms;
173
173
174
-
/// Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
174
+
/// Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
0 commit comments