Skip to content

Commit ad69e95

Browse files
algolia-botkai687
andcommitted
fix(specs): responseFields description (generated)
algolia/api-clients-automation#4399 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent a6e9491 commit ad69e95

12 files changed

+84
-60
lines changed

Sources/Recommend/Models/BaseRecommendIndexSettings.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,13 @@ public struct BaseRecommendIndexSettings: Codable, JSONEncodable {
120120
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
121121
/// matches with one word between them would have the same score.
122122
public var minProximity: Int?
123-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
124-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
125-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
126-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
127-
/// might need in your search UI.
123+
/// Properties to include in the API response of search and browse requests. By default, all response properties
124+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
125+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
126+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
127+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
128+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
129+
/// the impact on your search experience.
128130
public var responseFields: [String]?
129131
/// Maximum number of facet values to return for each facet.
130132
public var maxValuesPerFacet: Int?

Sources/Recommend/Models/FallbackParams.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,13 @@ public struct FallbackParams: Codable, JSONEncodable {
315315
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
316316
/// matches with one word between them would have the same score.
317317
public var minProximity: Int?
318-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
319-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
320-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
321-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
322-
/// might need in your search UI.
318+
/// Properties to include in the API response of search and browse requests. By default, all response properties
319+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
320+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
321+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
322+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
323+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
324+
/// the impact on your search experience.
323325
public var responseFields: [String]?
324326
/// Maximum number of facet values to return for each facet.
325327
public var maxValuesPerFacet: Int?

Sources/Recommend/Models/RecommendIndexSettings.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,13 @@ public struct RecommendIndexSettings: Codable, JSONEncodable {
229229
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
230230
/// matches with one word between them would have the same score.
231231
public var minProximity: Int?
232-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
233-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
234-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
235-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
236-
/// might need in your search UI.
232+
/// Properties to include in the API response of search and browse requests. By default, all response properties
233+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
234+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
235+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
236+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
237+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
238+
/// the impact on your search experience.
237239
public var responseFields: [String]?
238240
/// Maximum number of facet values to return for each facet.
239241
public var maxValuesPerFacet: Int?

Sources/Recommend/Models/RecommendSearchParams.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,13 @@ public struct RecommendSearchParams: Codable, JSONEncodable {
316316
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
317317
/// matches with one word between them would have the same score.
318318
public var minProximity: Int?
319-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
320-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
321-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
322-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
323-
/// might need in your search UI.
319+
/// Properties to include in the API response of search and browse requests. By default, all response properties
320+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
321+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
322+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
323+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
324+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
325+
/// the impact on your search experience.
324326
public var responseFields: [String]?
325327
/// Maximum number of facet values to return for each facet.
326328
public var maxValuesPerFacet: Int?

Sources/Search/Models/BrowseParamsObject.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,13 @@ public struct BrowseParamsObject: Codable, JSONEncodable {
217217
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
218218
/// matches with one word between them would have the same score.
219219
public var minProximity: Int?
220-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
221-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
222-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
223-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
224-
/// might need in your search UI.
220+
/// Properties to include in the API response of search and browse requests. By default, all response properties
221+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
222+
/// 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.
224+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
225+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
226+
/// the impact on your search experience.
225227
public var responseFields: [String]?
226228
/// Maximum number of facet values to return for each facet.
227229
public var maxValuesPerFacet: Int?

Sources/Search/Models/IndexSettings.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,13 @@ public struct IndexSettings: Codable, JSONEncodable {
233233
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
234234
/// matches with one word between them would have the same score.
235235
public var minProximity: Int?
236-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
237-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
238-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
239-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
240-
/// might need in your search UI.
236+
/// Properties to include in the API response of search and browse requests. By default, all response properties
237+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
238+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
239+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
240+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
241+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
242+
/// the impact on your search experience.
241243
public var responseFields: [String]?
242244
/// Maximum number of facet values to return for each facet.
243245
public var maxValuesPerFacet: Int?

Sources/Search/Models/SearchConsequenceParams.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,13 @@ public struct SearchConsequenceParams: Codable, JSONEncodable {
215215
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
216216
/// matches with one word between them would have the same score.
217217
public var minProximity: Int?
218-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
219-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
220-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
221-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
222-
/// might need in your search UI.
218+
/// Properties to include in the API response of search and browse requests. By default, all response properties
219+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
220+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
221+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
222+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
223+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
224+
/// the impact on your search experience.
223225
public var responseFields: [String]?
224226
/// Maximum number of facet values to return for each facet.
225227
public var maxValuesPerFacet: Int?

Sources/Search/Models/SearchForFacets.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,13 @@ public struct SearchForFacets: Codable, JSONEncodable {
219219
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
220220
/// matches with one word between them would have the same score.
221221
public var minProximity: Int?
222-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
223-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
224-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
225-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
226-
/// might need in your search UI.
222+
/// Properties to include in the API response of search and browse requests. By default, all response properties
223+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
224+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
225+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
226+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
227+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
228+
/// the impact on your search experience.
227229
public var responseFields: [String]?
228230
/// Maximum number of facet values to return for each facet.
229231
public var maxValuesPerFacet: Int?

Sources/Search/Models/SearchForHits.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,13 @@ public struct SearchForHits: Codable, JSONEncodable {
219219
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
220220
/// matches with one word between them would have the same score.
221221
public var minProximity: Int?
222-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
223-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
224-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
225-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
226-
/// might need in your search UI.
222+
/// Properties to include in the API response of search and browse requests. By default, all response properties
223+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
224+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
225+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
226+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
227+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
228+
/// the impact on your search experience.
227229
public var responseFields: [String]?
228230
/// Maximum number of facet values to return for each facet.
229231
public var maxValuesPerFacet: Int?

Sources/Search/Models/SearchIndexSettingsAsSearchParams.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,13 @@ public struct SearchIndexSettingsAsSearchParams: Codable, JSONEncodable {
124124
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
125125
/// matches with one word between them would have the same score.
126126
public var minProximity: Int?
127-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
128-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
129-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
130-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
131-
/// might need in your search UI.
127+
/// Properties to include in the API response of search and browse requests. By default, all response properties
128+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
129+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
130+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
131+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
132+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
133+
/// the impact on your search experience.
132134
public var responseFields: [String]?
133135
/// Maximum number of facet values to return for each facet.
134136
public var maxValuesPerFacet: Int?

Sources/Search/Models/SearchSearchParamsObject.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,13 @@ public struct SearchSearchParamsObject: Codable, JSONEncodable {
218218
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
219219
/// matches with one word between them would have the same score.
220220
public var minProximity: Int?
221-
/// Properties to include in the API response of `search` and `browse` requests. By default, all response
222-
/// properties are included. To reduce the response size, you can select, which attributes should be included. You
223-
/// can't exclude these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`,
224-
/// `parsedQuery`, or any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you
225-
/// might need in your search UI.
221+
/// Properties to include in the API response of search and browse requests. By default, all response properties
222+
/// are included. To reduce the response size, you can select which properties should be included. An empty list
223+
/// may lead to an empty API response (except properties you can't exclude). You can't exclude these properties:
224+
/// `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true.
225+
/// Your search depends on the `hits` field. If you omit this field, searches won't return any results. Your UI
226+
/// might also depend on other properties, for example, for pagination. Before restricting the response size, check
227+
/// the impact on your search experience.
226228
public var responseFields: [String]?
227229
/// Maximum number of facet values to return for each facet.
228230
public var maxValuesPerFacet: Int?

0 commit comments

Comments
 (0)