Skip to content

Commit 668d97a

Browse files
Merge branch 'main' into fix/recommend/maxRecommendations-30 (generated)
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 015285e commit 668d97a

39 files changed

+88
-88
lines changed

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/base_recommend_request.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class BaseRecommendRequest {
2828

2929
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3030
// minimum: 1
31-
// maximum: 1000
31+
// maximum: 30
3232
@JsonKey(name: r'maxRecommendations')
3333
final int? maxRecommendations;
3434

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/bought_together_query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class BoughtTogetherQuery {
3131

3232
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3333
// minimum: 1
34-
// maximum: 1000
34+
// maximum: 30
3535
@JsonKey(name: r'maxRecommendations')
3636
final int? maxRecommendations;
3737

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/looking_similar_query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class LookingSimilarQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/related_query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class RelatedQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/trending_facets_query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class TrendingFacetsQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/trending_items_query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class TrendingItemsQuery {
3434

3535
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3636
// minimum: 1
37-
// maximum: 1000
37+
// maximum: 30
3838
@JsonKey(name: r'maxRecommendations')
3939
final int? maxRecommendations;
4040

clients/algoliasearch-client-go/algolia/abtesting/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/analytics/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/composition/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/ingestion/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/insights/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/monitoring/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/personalization/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/query-suggestions/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/search/api_search.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/search/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/BoughtTogetherQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public BoughtTogetherQuery setMaxRecommendations(Integer maxRecommendations) {
6363
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6464
* no fallback request is made. Depending on the available recommendations and the other request
6565
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
66-
* maximum: 1000
66+
* maximum: 30
6767
*/
6868
@javax.annotation.Nullable
6969
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/LookingSimilarQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public LookingSimilarQuery setMaxRecommendations(Integer maxRecommendations) {
6666
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6767
* no fallback request is made. Depending on the available recommendations and the other request
6868
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
69-
* maximum: 1000
69+
* maximum: 30
7070
*/
7171
@javax.annotation.Nullable
7272
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/RelatedQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public RelatedQuery setMaxRecommendations(Integer maxRecommendations) {
6666
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6767
* no fallback request is made. Depending on the available recommendations and the other request
6868
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
69-
* maximum: 1000
69+
* maximum: 30
7070
*/
7171
@javax.annotation.Nullable
7272
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/TrendingFacetsQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public TrendingFacetsQuery setMaxRecommendations(Integer maxRecommendations) {
6666
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6767
* no fallback request is made. Depending on the available recommendations and the other request
6868
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
69-
* maximum: 1000
69+
* maximum: 30
7070
*/
7171
@javax.annotation.Nullable
7272
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/TrendingItemsQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public TrendingItemsQuery setMaxRecommendations(Integer maxRecommendations) {
6969
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
7070
* no fallback request is made. Depending on the available recommendations and the other request
7171
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
72-
* maximum: 1000
72+
* maximum: 30
7373
*/
7474
@javax.annotation.Nullable
7575
public Integer getMaxRecommendations() {

clients/algoliasearch-client-swift/Sources/Analytics/AnalyticsClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ open class AnalyticsClient {
922922
return body
923923
}
924924

925-
// Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown.
925+
// Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown.
926926
// By default, the analyzed period includes the last eight days including the current day. The rate is the number
927927
// of
928928
// purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query

clients/algoliasearch-client-swift/Sources/Ingestion/Models/DestinationIndexName.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct DestinationIndexName: Codable, JSONEncodable {
1313
/// Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for
1414
/// searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested
1515
/// attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except**
16-
/// the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element.
16+
/// the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element.
1717
/// For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but
1818
/// indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar`
1919
/// from all elements of the `foo` array.

clients/algoliasearch-client-swift/Sources/Search/Models/BrowseParamsObject.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct BrowseParamsObject: Codable, JSONEncodable {
2121
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
2222
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
2323
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
24-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
24+
// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
2525
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
2626
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2727
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
@@ -200,7 +200,7 @@ public struct BrowseParamsObject: Codable, JSONEncodable {
200200
/// matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.
201201
/// - `multiWordsSynonym`. Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.
202202
public var alternativesAsExact: [SearchAlternativesAsExact]?
203-
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
203+
// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
204204
/// For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". -
205205
/// `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine`
206206
/// matches records that contain \"search\" but not \"engine\". This setting only has an effect if `advancedSyntax`
@@ -220,7 +220,7 @@ public struct BrowseParamsObject: Codable, JSONEncodable {
220220
/// Properties to include in the API response of search and browse requests. By default, all response properties
221221
/// are included. To reduce the response size, you can select which properties should be included. An empty list
222222
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
223-
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
223+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
224224
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
225225
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
226226
/// the impact on your search experience.
@@ -239,7 +239,7 @@ public struct BrowseParamsObject: Codable, JSONEncodable {
239239
/// attribute is determined by the order in the `searchableAttributes` setting.
240240
public var attributeCriteriaComputedByMinProximity: Bool?
241241
public var renderingContent: SearchRenderingContent?
242-
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
242+
// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
243243
/// This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
244244
public var enableReRanking: Bool?
245245
public var reRankingApplyFilter: SearchReRankingApplyFilter?

clients/algoliasearch-client-swift/Sources/Search/Models/DeleteByParams.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public struct DeleteByParams: Codable, JSONEncodable {
1414
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
1515
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
1616
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
17-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
17+
// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
1818
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
1919
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2020
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet

0 commit comments

Comments
 (0)