Skip to content

Commit f2b618a

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 dec9310 commit f2b618a

12 files changed

+84
-60
lines changed

src/main/scala/algoliasearch/recommend/BaseRecommendIndexSettings.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,13 @@ import algoliasearch.recommend.SupportedLanguage._
156156
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
157157
* matches with one word between them would have the same score.
158158
* @param responseFields
159-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
160-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
161-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
162-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
163-
* search UI.
159+
* Properties to include in the API response of search and browse requests. By default, all response properties are
160+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
161+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
162+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
163+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
164+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
165+
* search experience.
164166
* @param maxValuesPerFacet
165167
* Maximum number of facet values to return for each facet.
166168
* @param sortFacetValuesBy

src/main/scala/algoliasearch/recommend/FallbackParams.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,13 @@ import algoliasearch.recommend.SupportedLanguage._
360360
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
361361
* matches with one word between them would have the same score.
362362
* @param responseFields
363-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
364-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
365-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
366-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
367-
* search UI.
363+
* Properties to include in the API response of search and browse requests. By default, all response properties are
364+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
365+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
366+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
367+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
368+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
369+
* search experience.
368370
* @param maxValuesPerFacet
369371
* Maximum number of facet values to return for each facet.
370372
* @param sortFacetValuesBy

src/main/scala/algoliasearch/recommend/RecommendIndexSettings.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,13 @@ import algoliasearch.recommend.SupportedLanguage._
275275
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
276276
* matches with one word between them would have the same score.
277277
* @param responseFields
278-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
279-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
280-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
281-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
282-
* search UI.
278+
* Properties to include in the API response of search and browse requests. By default, all response properties are
279+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
280+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
281+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
282+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
283+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
284+
* search experience.
283285
* @param maxValuesPerFacet
284286
* Maximum number of facet values to return for each facet.
285287
* @param sortFacetValuesBy

src/main/scala/algoliasearch/recommend/RecommendSearchParams.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,13 @@ import algoliasearch.recommend.SupportedLanguage._
360360
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
361361
* matches with one word between them would have the same score.
362362
* @param responseFields
363-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
364-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
365-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
366-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
367-
* search UI.
363+
* Properties to include in the API response of search and browse requests. By default, all response properties are
364+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
365+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
366+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
367+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
368+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
369+
* search experience.
368370
* @param maxValuesPerFacet
369371
* Maximum number of facet values to return for each facet.
370372
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/BrowseParamsObject.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,13 @@ import algoliasearch.search.SupportedLanguage._
254254
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
255255
* matches with one word between them would have the same score.
256256
* @param responseFields
257-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
258-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
259-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
260-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
261-
* search UI.
257+
* Properties to include in the API response of search and browse requests. By default, all response properties are
258+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
259+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
260+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
261+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
262+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
263+
* search experience.
262264
* @param maxValuesPerFacet
263265
* Maximum number of facet values to return for each facet.
264266
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/ConsequenceParams.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,13 @@ import algoliasearch.search.SupportedLanguage._
252252
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
253253
* matches with one word between them would have the same score.
254254
* @param responseFields
255-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
256-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
257-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
258-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
259-
* search UI.
255+
* Properties to include in the API response of search and browse requests. By default, all response properties are
256+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
257+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
258+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
259+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
260+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
261+
* search experience.
260262
* @param maxValuesPerFacet
261263
* Maximum number of facet values to return for each facet.
262264
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/IndexSettings.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,13 @@ import algoliasearch.search.SupportedLanguage._
282282
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
283283
* matches with one word between them would have the same score.
284284
* @param responseFields
285-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
286-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
287-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
288-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
289-
* search UI.
285+
* Properties to include in the API response of search and browse requests. By default, all response properties are
286+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
287+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
288+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
289+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
290+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
291+
* search experience.
290292
* @param maxValuesPerFacet
291293
* Maximum number of facet values to return for each facet.
292294
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/IndexSettingsAsSearchParams.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,13 @@ import algoliasearch.search.SupportedLanguage._
163163
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
164164
* matches with one word between them would have the same score.
165165
* @param responseFields
166-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
167-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
168-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
169-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
170-
* search UI.
166+
* Properties to include in the API response of search and browse requests. By default, all response properties are
167+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
168+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
169+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
170+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
171+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
172+
* search experience.
171173
* @param maxValuesPerFacet
172174
* Maximum number of facet values to return for each facet.
173175
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/SearchForFacets.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,13 @@ import algoliasearch.search.SupportedLanguage._
257257
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
258258
* matches with one word between them would have the same score.
259259
* @param responseFields
260-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
261-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
262-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
263-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
264-
* search UI.
260+
* Properties to include in the API response of search and browse requests. By default, all response properties are
261+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
262+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
263+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
264+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
265+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
266+
* search experience.
265267
* @param maxValuesPerFacet
266268
* Maximum number of facet values to return for each facet.
267269
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/SearchForHits.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,13 @@ import algoliasearch.search.SupportedLanguage._
257257
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
258258
* matches with one word between them would have the same score.
259259
* @param responseFields
260-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
261-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
262-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
263-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
264-
* search UI.
260+
* Properties to include in the API response of search and browse requests. By default, all response properties are
261+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
262+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
263+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
264+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
265+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
266+
* search experience.
265267
* @param maxValuesPerFacet
266268
* Maximum number of facet values to return for each facet.
267269
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/SearchParamsObject.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,13 @@ import algoliasearch.search.SupportedLanguage._
254254
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
255255
* matches with one word between them would have the same score.
256256
* @param responseFields
257-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
258-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
259-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
260-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
261-
* search UI.
257+
* Properties to include in the API response of search and browse requests. By default, all response properties are
258+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
259+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
260+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
261+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
262+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
263+
* search experience.
262264
* @param maxValuesPerFacet
263265
* Maximum number of facet values to return for each facet.
264266
* @param sortFacetValuesBy

src/main/scala/algoliasearch/search/SettingsResponse.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,13 @@ import algoliasearch.search.SupportedLanguage._
282282
* by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
283283
* matches with one word between them would have the same score.
284284
* @param responseFields
285-
* Properties to include in the API response of `search` and `browse` requests. By default, all response properties
286-
* are included. To reduce the response size, you can select, which attributes should be included. You can't exclude
287-
* these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
288-
* any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
289-
* search UI.
285+
* Properties to include in the API response of search and browse requests. By default, all response properties are
286+
* included. To reduce the response size, you can select which properties should be included. An empty list may lead
287+
* to an empty API response (except properties you can't exclude). You can't exclude these properties: `message`,
288+
* `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true. Your search
289+
* depends on the `hits` field. If you omit this field, searches won't return any results. Your UI might also depend
290+
* on other properties, for example, for pagination. Before restricting the response size, check the impact on your
291+
* search experience.
290292
* @param maxValuesPerFacet
291293
* Maximum number of facet values to return for each facet.
292294
* @param sortFacetValuesBy

0 commit comments

Comments
 (0)