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: clients/algoliasearch-client-javascript/packages/client-search/src/searchClient.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -335,7 +335,7 @@ export function createSearchClient({
335
335
* @param browseObjects - The browseObjects object.
336
336
* @param browseObjects.indexName - The index in which to perform the request.
337
337
* @param browseObjects.browseRequest - The `browse` method parameters.
338
-
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call.
338
+
* @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.
339
339
* @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`.
340
340
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `browse` method and merged with the transporter requestOptions.
341
341
*/
@@ -372,7 +372,7 @@ export function createSearchClient({
372
372
* @param browseObjects - The browseObjects object.
373
373
* @param browseObjects.indexName - The index in which to perform the request.
374
374
* @param browseObjects.searchRulesParams - The `searchRules` method parameters.
375
-
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call.
375
+
* @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).
376
376
* @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`.
377
377
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `searchRules` method and merged with the transporter requestOptions.
378
378
*/
@@ -415,7 +415,7 @@ export function createSearchClient({
415
415
* @summary Helper method that iterates on the `searchSynonyms` method.
416
416
* @param browseObjects - The browseObjects object.
417
417
* @param browseObjects.indexName - The index in which to perform the request.
418
-
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call.
418
+
* @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).
419
419
* @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`.
420
420
* @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