Skip to content

Commit 5442fd6

Browse files
fix(specs): Increase optionalWords visibility in docs (generated)
algolia/api-clients-automation#4559 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: gazconroy <[email protected]>
1 parent ef10ad5 commit 5442fd6

12 files changed

+39
-39
lines changed

client/src/commonMain/kotlin/com/algolia/client/api/AbtestingClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class AbtestingClient(
5050
}
5151

5252
/**
53-
* This method allow you to send requests to the Algolia REST API.
53+
* This method lets you send requests to the Algolia REST API.
5454
* @param path Path of the endpoint, anything after \"/1\" must be specified.
5555
* @param parameters Query parameters to apply to the current query.
5656
* @param requestOptions additional request configuration.
@@ -71,7 +71,7 @@ public class AbtestingClient(
7171
}
7272

7373
/**
74-
* This method allow you to send requests to the Algolia REST API.
74+
* This method lets you send requests to the Algolia REST API.
7575
* @param path Path of the endpoint, anything after \"/1\" must be specified.
7676
* @param parameters Query parameters to apply to the current query.
7777
* @param requestOptions additional request configuration.
@@ -92,7 +92,7 @@ public class AbtestingClient(
9292
}
9393

9494
/**
95-
* This method allow you to send requests to the Algolia REST API.
95+
* This method lets you send requests to the Algolia REST API.
9696
* @param path Path of the endpoint, anything after \"/1\" must be specified.
9797
* @param parameters Query parameters to apply to the current query.
9898
* @param body Parameters to send with the custom request.
@@ -115,7 +115,7 @@ public class AbtestingClient(
115115
}
116116

117117
/**
118-
* This method allow you to send requests to the Algolia REST API.
118+
* This method lets you send requests to the Algolia REST API.
119119
* @param path Path of the endpoint, anything after \"/1\" must be specified.
120120
* @param parameters Query parameters to apply to the current query.
121121
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/AnalyticsClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class AnalyticsClient(
3030
}
3131

3232
/**
33-
* This method allow you to send requests to the Algolia REST API.
33+
* This method lets you send requests to the Algolia REST API.
3434
* @param path Path of the endpoint, anything after \"/1\" must be specified.
3535
* @param parameters Query parameters to apply to the current query.
3636
* @param requestOptions additional request configuration.
@@ -51,7 +51,7 @@ public class AnalyticsClient(
5151
}
5252

5353
/**
54-
* This method allow you to send requests to the Algolia REST API.
54+
* This method lets you send requests to the Algolia REST API.
5555
* @param path Path of the endpoint, anything after \"/1\" must be specified.
5656
* @param parameters Query parameters to apply to the current query.
5757
* @param requestOptions additional request configuration.
@@ -72,7 +72,7 @@ public class AnalyticsClient(
7272
}
7373

7474
/**
75-
* This method allow you to send requests to the Algolia REST API.
75+
* This method lets you send requests to the Algolia REST API.
7676
* @param path Path of the endpoint, anything after \"/1\" must be specified.
7777
* @param parameters Query parameters to apply to the current query.
7878
* @param body Parameters to send with the custom request.
@@ -95,7 +95,7 @@ public class AnalyticsClient(
9595
}
9696

9797
/**
98-
* This method allow you to send requests to the Algolia REST API.
98+
* This method lets you send requests to the Algolia REST API.
9999
* @param path Path of the endpoint, anything after \"/1\" must be specified.
100100
* @param parameters Query parameters to apply to the current query.
101101
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/IngestionClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public class IngestionClient(
147147
}
148148

149149
/**
150-
* This method allow you to send requests to the Algolia REST API.
150+
* This method lets you send requests to the Algolia REST API.
151151
* @param path Path of the endpoint, anything after \"/1\" must be specified.
152152
* @param parameters Query parameters to apply to the current query.
153153
* @param requestOptions additional request configuration.
@@ -168,7 +168,7 @@ public class IngestionClient(
168168
}
169169

170170
/**
171-
* This method allow you to send requests to the Algolia REST API.
171+
* This method lets you send requests to the Algolia REST API.
172172
* @param path Path of the endpoint, anything after \"/1\" must be specified.
173173
* @param parameters Query parameters to apply to the current query.
174174
* @param requestOptions additional request configuration.
@@ -189,7 +189,7 @@ public class IngestionClient(
189189
}
190190

191191
/**
192-
* This method allow you to send requests to the Algolia REST API.
192+
* This method lets you send requests to the Algolia REST API.
193193
* @param path Path of the endpoint, anything after \"/1\" must be specified.
194194
* @param parameters Query parameters to apply to the current query.
195195
* @param body Parameters to send with the custom request.
@@ -212,7 +212,7 @@ public class IngestionClient(
212212
}
213213

214214
/**
215-
* This method allow you to send requests to the Algolia REST API.
215+
* This method lets you send requests to the Algolia REST API.
216216
* @param path Path of the endpoint, anything after \"/1\" must be specified.
217217
* @param parameters Query parameters to apply to the current query.
218218
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/InsightsClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class InsightsClient(
3030
}
3131

3232
/**
33-
* This method allow you to send requests to the Algolia REST API.
33+
* This method lets you send requests to the Algolia REST API.
3434
* @param path Path of the endpoint, anything after \"/1\" must be specified.
3535
* @param parameters Query parameters to apply to the current query.
3636
* @param requestOptions additional request configuration.
@@ -51,7 +51,7 @@ public class InsightsClient(
5151
}
5252

5353
/**
54-
* This method allow you to send requests to the Algolia REST API.
54+
* This method lets you send requests to the Algolia REST API.
5555
* @param path Path of the endpoint, anything after \"/1\" must be specified.
5656
* @param parameters Query parameters to apply to the current query.
5757
* @param requestOptions additional request configuration.
@@ -72,7 +72,7 @@ public class InsightsClient(
7272
}
7373

7474
/**
75-
* This method allow you to send requests to the Algolia REST API.
75+
* This method lets you send requests to the Algolia REST API.
7676
* @param path Path of the endpoint, anything after \"/1\" must be specified.
7777
* @param parameters Query parameters to apply to the current query.
7878
* @param body Parameters to send with the custom request.
@@ -95,7 +95,7 @@ public class InsightsClient(
9595
}
9696

9797
/**
98-
* This method allow you to send requests to the Algolia REST API.
98+
* This method lets you send requests to the Algolia REST API.
9999
* @param path Path of the endpoint, anything after \"/1\" must be specified.
100100
* @param parameters Query parameters to apply to the current query.
101101
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/MonitoringClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class MonitoringClient(
2828
}
2929

3030
/**
31-
* This method allow you to send requests to the Algolia REST API.
31+
* This method lets you send requests to the Algolia REST API.
3232
* @param path Path of the endpoint, anything after \"/1\" must be specified.
3333
* @param parameters Query parameters to apply to the current query.
3434
* @param requestOptions additional request configuration.
@@ -49,7 +49,7 @@ public class MonitoringClient(
4949
}
5050

5151
/**
52-
* This method allow you to send requests to the Algolia REST API.
52+
* This method lets you send requests to the Algolia REST API.
5353
* @param path Path of the endpoint, anything after \"/1\" must be specified.
5454
* @param parameters Query parameters to apply to the current query.
5555
* @param requestOptions additional request configuration.
@@ -70,7 +70,7 @@ public class MonitoringClient(
7070
}
7171

7272
/**
73-
* This method allow you to send requests to the Algolia REST API.
73+
* This method lets you send requests to the Algolia REST API.
7474
* @param path Path of the endpoint, anything after \"/1\" must be specified.
7575
* @param parameters Query parameters to apply to the current query.
7676
* @param body Parameters to send with the custom request.
@@ -93,7 +93,7 @@ public class MonitoringClient(
9393
}
9494

9595
/**
96-
* This method allow you to send requests to the Algolia REST API.
96+
* This method lets you send requests to the Algolia REST API.
9797
* @param path Path of the endpoint, anything after \"/1\" must be specified.
9898
* @param parameters Query parameters to apply to the current query.
9999
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/PersonalizationClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class PersonalizationClient(
3030
}
3131

3232
/**
33-
* This method allow you to send requests to the Algolia REST API.
33+
* This method lets you send requests to the Algolia REST API.
3434
* @param path Path of the endpoint, anything after \"/1\" must be specified.
3535
* @param parameters Query parameters to apply to the current query.
3636
* @param requestOptions additional request configuration.
@@ -51,7 +51,7 @@ public class PersonalizationClient(
5151
}
5252

5353
/**
54-
* This method allow you to send requests to the Algolia REST API.
54+
* This method lets you send requests to the Algolia REST API.
5555
* @param path Path of the endpoint, anything after \"/1\" must be specified.
5656
* @param parameters Query parameters to apply to the current query.
5757
* @param requestOptions additional request configuration.
@@ -72,7 +72,7 @@ public class PersonalizationClient(
7272
}
7373

7474
/**
75-
* This method allow you to send requests to the Algolia REST API.
75+
* This method lets you send requests to the Algolia REST API.
7676
* @param path Path of the endpoint, anything after \"/1\" must be specified.
7777
* @param parameters Query parameters to apply to the current query.
7878
* @param body Parameters to send with the custom request.
@@ -95,7 +95,7 @@ public class PersonalizationClient(
9595
}
9696

9797
/**
98-
* This method allow you to send requests to the Algolia REST API.
98+
* This method lets you send requests to the Algolia REST API.
9999
* @param path Path of the endpoint, anything after \"/1\" must be specified.
100100
* @param parameters Query parameters to apply to the current query.
101101
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/QuerySuggestionsClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class QuerySuggestionsClient(
5050
}
5151

5252
/**
53-
* This method allow you to send requests to the Algolia REST API.
53+
* This method lets you send requests to the Algolia REST API.
5454
* @param path Path of the endpoint, anything after \"/1\" must be specified.
5555
* @param parameters Query parameters to apply to the current query.
5656
* @param requestOptions additional request configuration.
@@ -71,7 +71,7 @@ public class QuerySuggestionsClient(
7171
}
7272

7373
/**
74-
* This method allow you to send requests to the Algolia REST API.
74+
* This method lets you send requests to the Algolia REST API.
7575
* @param path Path of the endpoint, anything after \"/1\" must be specified.
7676
* @param parameters Query parameters to apply to the current query.
7777
* @param requestOptions additional request configuration.
@@ -92,7 +92,7 @@ public class QuerySuggestionsClient(
9292
}
9393

9494
/**
95-
* This method allow you to send requests to the Algolia REST API.
95+
* This method lets you send requests to the Algolia REST API.
9696
* @param path Path of the endpoint, anything after \"/1\" must be specified.
9797
* @param parameters Query parameters to apply to the current query.
9898
* @param body Parameters to send with the custom request.
@@ -115,7 +115,7 @@ public class QuerySuggestionsClient(
115115
}
116116

117117
/**
118-
* This method allow you to send requests to the Algolia REST API.
118+
* This method lets you send requests to the Algolia REST API.
119119
* @param path Path of the endpoint, anything after \"/1\" must be specified.
120120
* @param parameters Query parameters to apply to the current query.
121121
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/RecommendClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class RecommendClient(
5656
}
5757

5858
/**
59-
* This method allow you to send requests to the Algolia REST API.
59+
* This method lets you send requests to the Algolia REST API.
6060
* @param path Path of the endpoint, anything after \"/1\" must be specified.
6161
* @param parameters Query parameters to apply to the current query.
6262
* @param requestOptions additional request configuration.
@@ -77,7 +77,7 @@ public class RecommendClient(
7777
}
7878

7979
/**
80-
* This method allow you to send requests to the Algolia REST API.
80+
* This method lets you send requests to the Algolia REST API.
8181
* @param path Path of the endpoint, anything after \"/1\" must be specified.
8282
* @param parameters Query parameters to apply to the current query.
8383
* @param requestOptions additional request configuration.
@@ -98,7 +98,7 @@ public class RecommendClient(
9898
}
9999

100100
/**
101-
* This method allow you to send requests to the Algolia REST API.
101+
* This method lets you send requests to the Algolia REST API.
102102
* @param path Path of the endpoint, anything after \"/1\" must be specified.
103103
* @param parameters Query parameters to apply to the current query.
104104
* @param body Parameters to send with the custom request.
@@ -121,7 +121,7 @@ public class RecommendClient(
121121
}
122122

123123
/**
124-
* This method allow you to send requests to the Algolia REST API.
124+
* This method lets you send requests to the Algolia REST API.
125125
* @param path Path of the endpoint, anything after \"/1\" must be specified.
126126
* @param parameters Query parameters to apply to the current query.
127127
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/api/SearchClient.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public class SearchClient(
279279
}
280280

281281
/**
282-
* This method allow you to send requests to the Algolia REST API.
282+
* This method lets you send requests to the Algolia REST API.
283283
* @param path Path of the endpoint, anything after \"/1\" must be specified.
284284
* @param parameters Query parameters to apply to the current query.
285285
* @param requestOptions additional request configuration.
@@ -300,7 +300,7 @@ public class SearchClient(
300300
}
301301

302302
/**
303-
* This method allow you to send requests to the Algolia REST API.
303+
* This method lets you send requests to the Algolia REST API.
304304
* @param path Path of the endpoint, anything after \"/1\" must be specified.
305305
* @param parameters Query parameters to apply to the current query.
306306
* @param requestOptions additional request configuration.
@@ -321,7 +321,7 @@ public class SearchClient(
321321
}
322322

323323
/**
324-
* This method allow you to send requests to the Algolia REST API.
324+
* This method lets you send requests to the Algolia REST API.
325325
* @param path Path of the endpoint, anything after \"/1\" must be specified.
326326
* @param parameters Query parameters to apply to the current query.
327327
* @param body Parameters to send with the custom request.
@@ -344,7 +344,7 @@ public class SearchClient(
344344
}
345345

346346
/**
347-
* This method allow you to send requests to the Algolia REST API.
347+
* This method lets you send requests to the Algolia REST API.
348348
* @param path Path of the endpoint, anything after \"/1\" must be specified.
349349
* @param parameters Query parameters to apply to the current query.
350350
* @param body Parameters to send with the custom request.

client/src/commonMain/kotlin/com/algolia/client/model/recommend/OptionalWords.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import kotlinx.serialization.json.*
1111
import kotlin.jvm.JvmInline
1212

1313
/**
14-
* OptionalWords
14+
* Words that should be considered optional when found in the query. By default, records must match all words in the search query to be included in the search results. Adding optional words can help to increase the number of search results by running an additional search query that doesn't include the optional words. For example, if the search query is \"action video\" and \"video\" is an optional word, the search engine runs two queries. One for \"action video\" and one for \"action\". Records that match all words are ranked higher. For a search query with 4 or more words **and** all its words are optional, the number of matched words required for a record to be included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of optional words divided by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
1515
*
1616
* Implementations:
1717
* - [List<String>] - *[OptionalWords.of]*

client/src/commonMain/kotlin/com/algolia/client/model/search/Log.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public data class Log(
4242
@SerialName(value = "answer") val answer: String,
4343

4444
/** URL of the API endpoint. */
45-
@SerialName(value = "url") val url: kotlin.String,
45+
@SerialName(value = "url") val url: String,
4646

4747
/** IP address of the client that performed the request. */
4848
@SerialName(value = "ip") val ip: String,

client/src/commonMain/kotlin/com/algolia/client/model/search/OptionalWords.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import kotlinx.serialization.json.*
1111
import kotlin.jvm.JvmInline
1212

1313
/**
14-
* OptionalWords
14+
* Words that should be considered optional when found in the query. By default, records must match all words in the search query to be included in the search results. Adding optional words can help to increase the number of search results by running an additional search query that doesn't include the optional words. For example, if the search query is \"action video\" and \"video\" is an optional word, the search engine runs two queries. One for \"action video\" and one for \"action\". Records that match all words are ranked higher. For a search query with 4 or more words **and** all its words are optional, the number of matched words required for a record to be included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of optional words divided by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
1515
*
1616
* Implementations:
1717
* - [List<String>] - *[OptionalWords.of]*

0 commit comments

Comments
 (0)