@@ -36,9 +36,19 @@ package algoliasearch.recommend
36
36
* @param context
37
37
* Only search for rules with matching context.
38
38
* @param page
39
- * Requested page of the API response.
39
+ * Requested page of the API response. Algolia uses `page` and `hitsPerPage` to control how search results are
40
+ * displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/)).
41
+ * \- `hitsPerPage`: sets the number of search results (_hits_) displayed per page. - `page`: specifies the page
42
+ * number of the search results you want to retrieve. Page numbering starts at 0, so the first page is `page=0`, the
43
+ * second is `page=1`, and so on. For example, to display 10 results per page starting from the third page, set
44
+ * `hitsPerPage` to 10 and `page` to 2.
40
45
* @param hitsPerPage
41
- * Maximum number of hits per page.
46
+ * Maximum number of hits per page. Algolia uses `page` and `hitsPerPage` to control how search results are displayed
47
+ * ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/)). -
48
+ * `hitsPerPage`: sets the number of search results (_hits_) displayed per page. - `page`: specifies the page number
49
+ * of the search results you want to retrieve. Page numbering starts at 0, so the first page is `page=0`, the second
50
+ * is `page=1`, and so on. For example, to display 10 results per page starting from the third page, set
51
+ * `hitsPerPage` to 10 and `page` to 2.
42
52
* @param enabled
43
53
* Whether to only show rules where the value of their `enabled` property matches this parameter. If absent, show all
44
54
* rules, regardless of their `enabled` property.
0 commit comments