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: templates/javascript/clients/client/api/helpers.mustache
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ waitForApiKey(
114
114
* @param browseObjects - The browseObjects object.
115
115
* @param browseObjects.indexName - The index in which to perform the request.
116
116
* @param browseObjects.browseRequest - The `browse` method parameters.
117
-
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call.
117
+
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is no `cursor` in the response.
118
118
* @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
119
119
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `browse` method and merged with the transporter requestOptions.
120
120
*/
@@ -151,7 +151,7 @@ browseObjects<T>(
151
151
* @param browseObjects - The browseObjects object.
152
152
* @param browseObjects.indexName - The index in which to perform the request.
153
153
* @param browseObjects.searchRulesParams - The `searchRules` method parameters.
154
-
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call.
154
+
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
155
155
* @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
156
156
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `searchRules` method and merged with the transporter requestOptions.
157
157
*/
@@ -194,7 +194,7 @@ browseRules(
194
194
* @summary Helper method that iterates on the `searchSynonyms` method.
195
195
* @param browseObjects - The browseObjects object.
196
196
* @param browseObjects.indexName - The index in which to perform the request.
197
-
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call.
197
+
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
198
198
* @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
199
199
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `searchSynonyms` method and merged with the transporter requestOptions.
0 commit comments